Ron:

To add to Mark's reply, that's because the return code (in register 15), was traditionally used to index a table of branch instructions (each of which were 4 bytes long), such as:

              B     RETTABLE(R15)
...

RETTABLE   B           OK
                    B           FAIR
                    B           WORSE
                    B           BAD
                    B           FATAL

Mike Myers


On 05/08/2013 01:45 PM, Ron Thomas wrote:
Hi ,

Can some one let me know why the return code generated is a mutilple of 4? e.g 
4,8,12,16

Thanks,
Ron T

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to