🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3541

386 Assembler Question - Easy one...

#3541
From: morley
Date: Tue, 10 Nov 1992 00:29
15 lines
869 bytes
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
Technical Details
Message-ID: <1992Nov9.162931.1@camins.camosun.bc.ca>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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