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

Answer Posted / dave grund

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.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to pass the parameters from jcl to assembler pgm?

655


Why do we use "drop"?

561


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

634


what is need of start 0? In steed of

669


What does "using" do?

588






Explain the difference in data type "x" and "p"?

592


explain about maximum displacement and how to cross this limit?

697


What is icm instruction?

639


What is house keeping in assembler?

591


how to retrieve the instream data in sysin?

677


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

636


Explain about base register?

603


How are data passed from jcl parm to assembler program?

581


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

614


how do you round the addition or subtraction of two numbers in assembler? what does the following code do? change process tool(code changes from dev to prd) the changes made to your code should be effected in live. How the process takes place. That is how can you move the code changes from development to production?

683