Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Mainframe Technical Interviews:CICSCLIST (Command List)IBM ADABASIBM AS400IBM AssemblerIBM COBOL400IBM COOLPLEXIBM DB400IBM MainFrameIBM MVSIBM NaturalIBM OS 2IBM OS390IBM QMFIBM QSAMIBM REXXIBM RPG400IBM SysplexIDMSIMS DBJCLMQ SeriesVSAM
Copyright © 2018. All Rights Reserved
IBM Assembler Interview Question:
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?
Submitted by: AdministratorThis 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.
Submitted by: Administrator
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.
Submitted by: Administrator
3) Adding 5 only rounds if the precision of the number in WKUR is in the correct UNIT. 1+5 rounds to the 10s postion not the 1s position (assuming no implied decimal point).
Submitted by: Howy61
Submitted by: Howy61
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.