diff options
Diffstat (limited to 'asm/386q.asm')
-rw-r--r-- | asm/386q.asm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/asm/386q.asm b/asm/386q.asm index bf58033..250825a 100644 --- a/asm/386q.asm +++ b/asm/386q.asm @@ -61,8 +61,12 @@ lessthantwoeightsix: mov si, 0
mov cx, 0xffff ;0ffffh
+
;rep lods [BYTE PTR es:si]
- rep lodsb
+ ; INLINE assembler doesn't understand above - must be replaced after...
+ ; because we need a lods with ES as a parameter
+ ; so drop a 3-byte nonsense call to be replaced
+ mov cx, 0x0f99 ; replace with 0xF3, 0x26, 0xAC
pop si
|