IBM Assembler Question:
Download Questions PDF

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

What does the following code do?
AP WKUR,=P5 where WKUR is a label?

Answer:

This is a vague two-part question.
1) You can round by adding .5
2) Adds 5 to WKUR, but it had better be a valid packed field, and not just a label.

Download IBM Assembler Interview Questions And Answers PDF

Previous QuestionNext Question
What is need of START 0? In steed of can we use anyother numerics? if we use what will happen?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?