IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What happens If we will not code BR14 to end of assembler


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nijugopalan

New User


Joined: 15 Oct 2005
Posts: 15
Location: pune

PostPosted: Thu Jul 20, 2006 9:43 am
Reply with quote

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
View user's profile Send private message
nijugopalan

New User


Joined: 15 Oct 2005
Posts: 15
Location: pune

PostPosted: Thu Jul 20, 2006 9:49 am
Reply with quote

it is


BR R14
Back to top
View user's profile Send private message
Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Thu Jul 20, 2006 9:57 am
Reply with quote

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
View user's profile Send private message
nijugopalan

New User


Joined: 15 Oct 2005
Posts: 15
Location: pune

PostPosted: Thu Jul 20, 2006 10:23 am
Reply with quote

HII BARANI

CAN YOU EXPLAIN ME THE DIFFERENCE BETWEEN JUMP AND BR INSTRUCTION.
Back to top
View user's profile Send private message
yesyemviswa

New User


Joined: 13 Jul 2006
Posts: 2

PostPosted: Thu Jul 20, 2006 2:10 pm
Reply with quote

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
View user's profile Send private message
nijugopalan

New User


Joined: 15 Oct 2005
Posts: 15
Location: pune

PostPosted: Thu Jul 20, 2006 2:45 pm
Reply with quote

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
View user's profile Send private message
Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Fri Jul 21, 2006 1:37 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Monitoring production job progress. N... JCL & VSAM 4
Search our Forums:

Back to Top