1.

Write The Fetch Cycle And Execute Cycle For Following Instructions:jmpnz (jump To The Given Address If The Accumulator Not Equal To Zero) Ret(return From A Subroutine) Adb (add The Contents Of Register B To The Accumulator And Save Result In The Accumulator)?

Answer»

As this is mainframe assembler section, this is a trick QUESTION - there is no JMPNZ opcode for mainframe (recently added JNZ with relative addressing in the z/800 and later,but no JMPNZ) and the mainframe has no RET instruction (there is a PR to RETURN from a CROSS address SPACE or PC "call" STATEMENT) and the mainframe has no accumulator, ADB opcode, or B register.

As this is mainframe assembler section, this is a trick question - there is no JMPNZ opcode for mainframe (recently added JNZ with relative addressing in the z/800 and later,but no JMPNZ) and the mainframe has no RET instruction (there is a PR to return from a cross address space or PC "call" statement) and the mainframe has no accumulator, ADB opcode, or B register.



Discussion

No Comment Found