home *** CD-ROM | disk | FTP | other *** search
- 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
- From: morley@camins.camosun.bc.ca
- Newsgroups: comp.os.msdos.programmer
- Subject: 386 Assembler Question - Easy one...
- Message-ID: <1992Nov9.162931.1@camins.camosun.bc.ca>
- Date: 10 Nov 92 00:29:31 GMT
- Sender: news@spang.Camosun.BC.CA (Network News)
- Organization: Camosun College
- Lines: 15
- Nntp-Posting-Host: camins.camosun.bc.ca
-
- Ok. Ultra-simple assembler question for you guys...
-
- In 386 assembler I need to fill an extended register with 4 copies
- of the same byte. Right now I'm using the following:
-
- mov al,VALUE
- mov ah,VALUE
- shl eax,16
- mov al,VALUE
- mov ah,VALUE
-
- I'm curious... is there a better/faster way to stuff the register?
-
- MARK
- morley@camins.camosun.bc.ca
-