32 bit ops in 16 bit real mode TP 
Author Message
 32 bit ops in 16 bit real mode TP

 db $66,$b8,$01,$02,$03,$04     -  mov EAX, $04030201
 db $f3                         -  rep
 db $66,$ab                     -  STOSD

 db $66,$a5                     -  MOVSD  : can be used with rep prefix too ...

   Glad to help,

             Simon Arbib, in the UK



Wed, 18 Jun 1902 08:00:00 GMT  
 32 bit ops in 16 bit real mode TP


Quote:

> db $66,$b8,$01,$02,$03,$04     -  mov EAX, $04030201
> db $f3                         -  rep
> db $66,$ab                     -  STOSD

You can do the following (which is slightly easier to read):

db 66h; mov ax,$5678 ; dw $1234  - mov eax,$12345678. Note the high word first
db 66h; rep movsw                - rep movsd

Quote:
> db $66,$a5                     -  MOVSD  : can be used with rep prefix too ...

db 66h; movsw                    -  movsd


Project WallyWorld:  Anyone feel up to doing some graphics?



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Convert 32 bit component to 16 bit ??

2. BDE 32-bit & 16-bit

3. 16 bit ODBC drivers in the 32 bit environment

4. 32 bit bde with 16 bit odbc

5. CRC 16-bit and 32-bit

6. Delphi/BDE 16 bit VS 32 bit

7. Upgrade 16-bit application to 32-bit

8. Upgrade 16-bit application to 32-bit

9. 16-bit to 32-bit

10. 16-bit Application and 32-bit ODBC

11. Sybase : slow using 32 bit - fast using 16 bit

12. 16 bit and 32 bit BDE with same table

 

 
Powered by phpBB® Forum Software