home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10450 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  843 b 

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!news.UVic.CA!spang.Camosun.BC.CA!camins.camosun.bc.ca!morley
  2. From: morley@camins.camosun.bc.ca
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: 386 Assembler Question - Easy one...
  5. Message-ID: <1992Nov9.162931.1@camins.camosun.bc.ca>
  6. Date: 10 Nov 92 00:29:31 GMT
  7. Sender: news@spang.Camosun.BC.CA (Network News)
  8. Organization: Camosun College
  9. Lines: 15
  10. Nntp-Posting-Host: camins.camosun.bc.ca
  11.  
  12. Ok.  Ultra-simple assembler question for you guys...
  13.  
  14. In 386 assembler I need to fill an extended register with 4 copies
  15. of the same byte.  Right now I'm using the following:
  16.  
  17.    mov  al,VALUE
  18.    mov  ah,VALUE
  19.    shl  eax,16
  20.    mov  al,VALUE
  21.    mov  ah,VALUE
  22.  
  23. I'm curious... is there a better/faster way to stuff the register?
  24.  
  25. MARK
  26. morley@camins.camosun.bc.ca
  27.