Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.development    |    Operating system development chatter    |    4,255 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,736 of 4,255    |
|    mutazilah@gmail.com to muta...@gmail.com    |
|    Re: PDOS/86    |
|    20 Jul 21 02:22:25    |
      From: muta...@gmail.com              On Tuesday, July 20, 2021 at 4:25:32 PM UTC+10, muta...@gmail.com wrote:              > > Yes, and this is different than in AM24. LA is       > > useful as arithmetic instruction with 12-bit       > > immediate. IIRC alternatives are much more       > > complicated (longer code).              > You shouldn't be using LA for arithmetic. That again       > is down to individual programmers. C code doesn't       > generate assembler like that, with gccmvs, from       > what I've seen. Loading a numeric using LA will       > trash the entire 64 bits if you are operating in       > AM64, which is not helpful if someone has       > meticulously set up the top 32 bits to have meaning       > when running 32-bit programs.              Just another point on this. In AM24, doing arithmetic       using pointers (LA) will only work for values up to 16 MiB - 1.              If you are only doing maths up to that value, that will       continue to work unchanged in all other address modes.              BFN. Paul.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca