Oh, I forgot to ask / mention. Why worry about the caller's AMODE? I have code which can be called in any AMODE. It uses BASSM to switch to AMODE(31), for my needs, then returns to the caller with a BSM to branch back to the caller and restore their address mode (which may or may not be AMODE(31). )
Also, there is the SAM instruction to change AMODE as needed without branching (well except for the horrible case where you are RMODE(31) and switch to AMODE(24) causing a really nasty "branch" to occur). On Tue, Jun 11, 2013 at 10:34 AM, J R <[email protected]> wrote: > TAM instruction. > > > Date: Tue, 11 Jun 2013 08:16:54 -0700 > > From: [email protected] > > Subject: Amode > > To: [email protected] > > > > Guys and Gals : > > > > I need to query the addressing mode I am in ...i.e.; 24 bit or 31 bit , > etc. > > > > Whats the correct way to do this from Assembler of course.. > > > > > > Much appreciated, > > > > Regards, > > > > Scott J Ford > > Software Engineer > > http://www.identityforge.com/ > -- This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you? Maranatha! <>< John McKown
