IBM Assembler Question: Download Questions PDF
What is house keeping in assembler? And explain the following code
HELLOTSO START 0
* PRINT NOGEN
BEGIN SAVE (14,12)
LR 12,15
USING TYPE,12
ST 13,SAVE+4
LA 11,SAVE
ST 11,8(13)
LR 13,11
Answer:
House keeping is used to store the contents of the base
register from one register to another for using that
register.
These are house keeping instructions where contents of the
registers are stored
1. content of the register 15 is stored in the register 12
2. address in reg 12 is mapped to the module type
3. save area is stored in the register 13
register from one register to another for using that
register.
These are house keeping instructions where contents of the
registers are stored
1. content of the register 15 is stored in the register 12
2. address in reg 12 is mapped to the module type
3. save area is stored in the register 13
Download IBM Assembler Interview Questions And Answers
PDF
Previous Question | Next Question |
How to initialize a register to 0000? | What is base register? |