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

change process tool( code changes from dev to prd) The changes made to your code should be effected in live. how the process takes place. that is how can you move the code changes from development to production.

1 Answers   EDS,


Explain how to initialize a register to 0000?

0 Answers  


Why do we use "drop"?

0 Answers  


In the house keeping section of an MVS assembly language program, like the one below STM R14,R12,12(R13) BASR R12,R0 USING *,R12,R11 LA R11,2048 LA R11,2048(R11,R12) .... .... 1. What if BASR R12,R0 IS NOT PRECEDE USING *,R12,R11? 2. USING (base address), REGISTER does USING directive says assembler to treat particular Register as a base register with the mentioned base address..in the above case * i.e current location counter..well if that is the case why we need BASR R12,R0 ? 3. What if I write like STM R14,R12,12(R13) BASR R12,R0 LA R11,2048 LA R11,2048(R11,R12) USING *,R12,R11 there is no address resolution being calculated in both LA statements so is it a right way to set Base register?..will there be any issues with Domain regarding R11 and R12?

0 Answers  


Ap wkur,=p5 where wkur is a label?

0 Answers   IBM,






about maximum displacement and how to cross this limit.

2 Answers   EDS,


What is maximum displacement?

0 Answers  


what is need of start 0? In steed of

0 Answers   IBM,


explain about maximum displacement and how to cross this limit?

0 Answers   IBM,


What does "using" do?

0 Answers  


What is the use of trt instruction?

0 Answers  


How do you initialize a register to 0000?

10 Answers   HCL,


Categories