home bbs files messages ]

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,634 of 4,255   
   mutazilah@gmail.com to Joe Monk   
   Re: PDOS/86   
   15 Jul 21 19:48:40   
   
   From: muta...@gmail.com   
      
   On Friday, July 16, 2021 at 12:31:51 PM UTC+10, Joe Monk wrote:   
      
   > > In the same way that z/Arch supports both 32-bit and 64-bit operations,   
   > > the 80386 supports both 16-bit and 32-bit operations.   
      
   > On z/arch there are two different opcodes (LR/LGR) for 32/64bit operations.   
      
   True, two different mnemonics for two different opcodes.   
      
   This is a feature of the assembler. The assembler on the   
   mainframe recognizes the LGR and generates a different   
   opcode, even though the registers are identically named.   
      
   On the 80386 the assemblers took a different approach,   
   and they require you to keep the instruction name the   
   same, and change the names of the registers. The "mov"   
   generates a different op code depending on whether   
   the programmer wrote "ax" or "eax".   
      
   The end result is identical though, quibbling aside.   
      
   > So no, not in the same way that z/arch supports 32/64 bit operations.   
      
   Yes, at the op code level it is identical, quibbling aside.   
      
   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