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).



Write the fetch cycle and execute cycle for following instructions:JMPNZ (jump to the given addres..

Answer / steve holton

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.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Assembler Interview Questions

How we can retrieve the instream data in SYSIN ?

2 Answers   Tech Mahindra,


how to access VSAm file

2 Answers   EDS, IBM,


explain icm instruction?

0 Answers   IBM,


Why do we use "drop"?

0 Answers  


What will happen if we drop the base register in the program which contains only one basereg?

0 Answers  






Why can only 256 bytes be moved from one address to another in a MVC?

6 Answers   CSC, HCL, IBM,


WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?

4 Answers   IBM, Tech Mahindra,


How do you round the addition or subtraction of two numbers in assembler?

0 Answers  


Explain about house keeping in assembler?

0 Answers  


Can we use MVC instruction to move pack field to pack field....which instruction you will use and why ?

4 Answers   Amdocs, IBM,


What does the following code do? Ap wkur,=p5 where wkur is a label?

0 Answers  


What is symbol table in assembler?

2 Answers   HCL,


Categories