home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,424 of 4,675   
   wolfgang kern to John   
   Re: DOS debug to com   
   01 Jun 18 20:48:10   
   
   From: nowhere@never.at   
      
   Kerr-Mudd,John wrote:   
   ...   
   >> *) 88 and 89 opcodes should only be used for memory writes,   
   >>    8a and 8b are the standard READ (mem or reg) codes.   
      
   > I'm using nasm:   
   > 2016-02-16  15:25         1,076,736 nasmw.exe   
      
   Yeah, unfortunately also the NASM-compiler use what it find first in a   
   sorted list of opcodes, 89 is seen before 8B (often seen elsewhere too).   
      
   It may not matter much which code version is in use, but beside that   
   all these duplicate codes may be once freed to become another meaning,   
   there is a (granted very minor) speed penalty when an instruction has   
   to swap dest<>source by the implied direction bit.   
      
   > I've improved xxd-r slightly, but still need to do more: as I have it at   
   > the moment there's only 1 output write, so there's a limit of 51k for the   
   > input file.   
      
   why only 51K? DOS know about segments (64K limit).   
      
   seems you train very hard for any next hugi-compo to come :)   
   it sometimes helps a lot if you use 64,65,66,67 prefixes too   
   even in a restricted 16 bit DOS environment.   
   __   
   wolfgang   
      
   --- 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