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 Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

714


how to pass the parameters from jcl to assembler pgm?

729


What is need of start 0?

755


Explain how to produce soc7 abend?

719


Explain about maximum displacement?

687






Explain the difference between various read and find statement?

711


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

706


How are data passed from jcl parm to assembler program?

658


Explain about house keeping in assembler?

714


Explain how to pass instream data in sysin with assembler?

719


What does "using" do?

658


What is icm instruction?

711


What is maximum displacement?

722


how to initialize a register to 0000?

742


What does the following code do? Ap wkur,=p5 where wkur is a label?

705