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

Explain about base register?

597


How do you round the addition or subtraction of two numbers in assembler?

595


What is maximum displacement and how to cross this limit?

658


Explain how to initialize a register to 0000?

582


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

608






how to retrieve the instream data in sysin?

672


explain icm instruction?

655


Explain how to pass instream data in sysin with assembler?

636


Explain about house keeping in assembler?

631


How is data passed from a calling program to an assembler called program?

625


Explain the difference between various read and find statement?

611


What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?

633


Explain how to access vsam file?

603


What does "using" do?

581


What is house keeping in assembler?

586