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 |
Why do we have multiple base registers in certain programs?
how to initialize a register to 0000?
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
Ap wkur,=p5 where wkur is a label?
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
How do you initialize a register to 0000?
cobol and assembler access
Explain about base register?
What is house keeping in assembler?
registers(0-15) ,where they are going be resides., does that mean here is it resides whether real or virtual memory? and why? then why we are assign even registers(0 to 6) for FP operations????
HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A SINGLE PROGRAM.
Can we use an equated value as operand for an MVC instruction? Reason for the same