PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: tourism industry

MARIE Assembly Language

MARIE Assembly LanguageTerminate the program7 HALTUse the value at X as the address to jump to CJUMPI XJump-and-Store: Store the PC at address X and jump to X+10 JNS XSubroutinecall and returnSkip the next instruction based on the condition, C:C = 00016: skip if AC is negative (b11b10 = 002)C = 40016: skip if the AC = 0 (b11b10 = 012)C = 80016: skip if the AC is positive (b11b10 = 102)8 SKIPCOND CUnconditional branch to X by loading the value of X into PC9 JUMP XBranchOutput the value in AC to the display6 OUTPUTI nput a value from the keyboard into AC5 INPUTI/O Store the contents of AC at address X2 STORE XLoad the contents of address X into AC1 LOAD XData TransferPut all zeros in the ACACLEARAdd Indirect: Use the value at X as the actual address of thedata operand to add to ACBADDI XSubtract the contents of address X from the AC4 SUBT XAdd the contents of address X to AC3 ADD XArithmeticDescriptionHexOpcodeMnemonicT ype ofInstructionsMARIEI nstructionFormatOpcode Address (or Condition) 15 12 11 10 0 Revised Figure Datapath in MARIEMAR IR PCInREGMBROutREG ACALU MemoryAddress01232 - 11216-bitsInputDeviceOutputDevice16 Assembly Language Example 1: RESULT = X + Y - Z AddressLabel Assembly LanguageMachine Language0 LOAD X100616

MARIE Assembly Language HALT 7 Terminate the program JUMPI X C Use the value at X as the address to jump to Subroutine JNS X 0 Jump-and-Store: Store the PC at address X and jump to X+1 call and return

Tags:

  Language, Assembly, Mirae, Marie assembly language

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of MARIE Assembly Language

Related search queries