View previous topic :: View next topic
|
Author |
Message |
nijugopalan
New User
Joined: 15 Oct 2005 Posts: 15 Location: pune
|
|
|
|
hii every body. can anyone explain me what willl haran if we will not code
BR14 to a end of assembler program. i need the naswer immediately |
|
Back to top |
|
|
nijugopalan
New User
Joined: 15 Oct 2005 Posts: 15 Location: pune
|
|
|
|
it is
BR R14 |
|
Back to top |
|
|
Bharanidharan
New User
Joined: 20 Jun 2005 Posts: 86 Location: Chennai, India
|
|
|
|
The same thing that would happen if you don't go back to your home after work, and instead decide to roam around in the streets.
You won't know where you end up. The reason is: your module is not called directly by CPU; it is always called by another IBM module. Hence it is our duty to return to the caller exactly the way it has given control to our module. |
|
Back to top |
|
|
nijugopalan
New User
Joined: 15 Oct 2005 Posts: 15 Location: pune
|
|
|
|
HII BARANI
CAN YOU EXPLAIN ME THE DIFFERENCE BETWEEN JUMP AND BR INSTRUCTION. |
|
Back to top |
|
|
yesyemviswa
New User
Joined: 13 Jul 2006 Posts: 2
|
|
|
|
Dear Gopa,
There is no instruction called JUMP.Instruction BR 14 will cause the control to the address of the register 14.In case of using conditional codes you can use the extended mnemonic codes for conditional and unconditional transfer of control .Ex Mnemonic codes can be of B,BE,BH,BNE etc.., |
|
Back to top |
|
|
nijugopalan
New User
Joined: 15 Oct 2005 Posts: 15 Location: pune
|
|
|
|
hello i know about branch instruction and worked with it. but there is a jump instruction . it is used for linking i think so. i dont know how it work. if anyone out there please help me |
|
Back to top |
|
|
Bharanidharan
New User
Joined: 20 Jun 2005 Posts: 86 Location: Chennai, India
|
|
|
|
It looks like JMP is a part of older versions of ASM (may be the ones used with ESA/370 machines), but I am not sure; even I have seen that intruction before, but I can't recall where.
What I am sure of is that JMP doesn't belong to HLASM (I am using R4.0 PTF UQ89875 March 2006) that we are currently using. I am afraid I have only these details. |
|
Back to top |
|
|
|