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 / 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 |
cobol and assembler access
Explain the difference in data type "x" and "p"?
Explain about maximum displacement?
What is need of start 0?
What is maximum displacement?
What is the use of TRT instruction and how it is working?
How we can Pass the parameters from JCL to assembler Pgm?
What does the following code do? Ap wkur,=p5 where wkur is a label?
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).
How are data passed from JCL parm to assembler program. And how is data passed from a calling program to an assembler called program.
how to access VSAm file
How to pass the parameters from jcl to assembler program?