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 |
What does "using" do?
Explain how to produce soc7 abend?
Explain how to pass instream data in sysin with assembler?
What is house keeping in assembler?
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
What does LA R3,R3 ?
What is icm instruction?
Why do we use "drop"? What does "using" do?
How to initialize 20,000 bytes in the Assembler..
How is data passed from a calling program to an assembler called program?
how to initialize a register to 0000?
What is the difference between various read and find statement,and which one should be used when for better adabas performance ?