function NextPos( var str1, str2: string; var start: byte ): boolean; assembler; { search next occurrence of str1 in str2 }
Should I replace the instruction 'LES DI, START' by 'MOV EDI, START'
or by 'LEA EDI, START'?
But because of the flat memory space, these can't be loaded with aninstruction
like LDS or LES [...]
Should I replace the instruction 'LES DI, START' by 'MOV EDI,
START' or by 'LEA EDI, START'?
I think in this case they are equivalent. Mov would be more usual.
Can the 8-bit- and 16-bit parts of the 32-bit-registers (AX
consists of AH and AL, AX is the lower half of EAX) still be used
in 32-bit code
Yes.
, can I still use statements like 'MOV BL, CL' in 32-bit?
Yes.
Another feature I remember finding useful is that in 32-bit you can
use any general purpose register as index register.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,042 |
Nodes: | 16 (0 / 16) |
Uptime: | 00:13:32 |
Calls: | 500,919 |
Calls today: | 6 |
Files: | 109,372 |
D/L today: |
14,270 files (2,275M bytes) |
Messages: | 305,052 |
Posted today: | 7 |