www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/11/14:00:55

From: "Flemming Stig Larsen" <flemming DOT larsen AT private DOT dk>
Subject: special registers in ASM
Newsgroups: comp.os.msdos.djgpp
Message-ID: <01bd371c$3b3ff0a0$b1fcffc2@fsl22.novo.dk>
NNTP-Posting-Host: t7o101p57.telia.com
Date: 11 Feb 98 18:41:04 GMT
Lines: 11
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm going to translate a loop written in C to ASM, but I need more than 8 
individual 32-bit registers to do it properly. I'm only familar with 
the 6 standarts(EAX-EDX,ESI,EDI), and I dont want to push pop all the 
time. Then I read about some special registers in the 386+ ex. DR2, TR5,
CR3. My questions are, can I  use them right away?, are they 32bit?, 
what are the syntax to use them in DJGPP's AT&T inline-assembler?

Thanks

Lars P. Larsen

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019