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,


What does LA R3,R3 ?

1 Answers   Amdocs,


Explain how to initialize a register to 0000?

0 Answers  


What is maximum displacement?

0 Answers  


How are data passed from JCL parm to assembler program. And how is data passed from a calling program to an assembler called program.

3 Answers   HCL, IBM,






Ap wkur,=p5 where wkur is a label?

0 Answers   IBM,


How to pass the parameters from jcl to assembler program?

0 Answers  


How we can Pass the parameters from JCL to assembler Pgm?

4 Answers   Tech Mahindra,


What does "using" do?

0 Answers  


How do you round the addition or subtraction of two numbers in assembler? what does the following code do? AP WKUR,=P'5' where WKUR is a label

3 Answers   CSC, IBM,


How many maximum base registers we can have in a single program?

0 Answers  


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,


Categories