[Wisp-cvs] wisp/users/dig ia32.tran,1.9,1.10
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-05-17 05:28:20
|
Update of /cvsroot/wisp/wisp/users/dig In directory sc8-pr-cvs1:/tmp/cvs-serv20395 Modified Files: ia32.tran Log Message: introduced the $osize macro Index: ia32.tran =================================================================== RCS file: /cvsroot/wisp/wisp/users/dig/ia32.tran,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- ia32.tran 17 May 2003 05:17:42 -0000 1.9 +++ ia32.tran 17 May 2003 05:28:17 -0000 1.10 @@ -6,14 +6,19 @@ \ \\\\ @(#) $Id$ +\ registers +:regs reg32 %eax %ecx %edx %ebx %esp %ebp %esi %edi ; + \ These are prefixes for 32-bit mode :[ ] $o16 #x66 b, ; :[ ] $o32 ; :[ ] $a16 #x67 b, ; :[ ] $a32 ; -\ registers -:regs reg32 %eax %ecx %edx %ebx %esp %ebp %esi %edi ; +:[ reg32 ] $osize ; \ or $o32 +:[ reg16 ] $osize #x66 b, ; \ or $o16 + +\ instructions :[ reg32 lit ] $mov $o32 swap minor #o270 + b, t, ; :[ reg32 ] $push minor #o120 + b, ; |