Skip to main content
Forgot xor di,di
Source Link
Matteo Italia
  • 3.8k
  • 1
  • 15
  • 22

x86 machine code in real mode (=> almost any DOS program)

00000000  6a 00 07 b9 00 04 30 c0  f3 aa   31 ff f3 aa              |j.....0.1...|
0000000a0000000c

i.e.

push 0
pop es
mov cx,400h
xor al,al
xor di,di
rep stosb

I hope you weren't too attached to your interrupt table.

x86 machine code in real mode (=> almost any DOS program)

00000000  6a 00 07 b9 00 04 30 c0  f3 aa                    |j.....0...|
0000000a

i.e.

push 0
pop es
mov cx,400h
xor al,al
rep stosb

I hope you weren't too attached to your interrupt table.

x86 machine code in real mode (=> almost any DOS program)

00000000  6a 00 07 b9 00 04 30 c0  31 ff f3 aa              |j.....0.1...|
0000000c

i.e.

push 0
pop es
mov cx,400h
xor al,al
xor di,di
rep stosb

I hope you weren't too attached to your interrupt table.

added 79 characters in body
Source Link
Matteo Italia
  • 3.8k
  • 1
  • 15
  • 22

x86 machine code in real mode (=> almost any DOS program)

00000000  6a 00 07 b9 00 04 30 c0  f3 aa                    |j.....0...|
0000000a

i.e.

push 0
pop es
mov cx,400h
xor al,al
rep stosb

I hope you weren't too attached to your interrupt table.

x86 machine code in real mode (=> almost any DOS program)

00000000  6a 00 07 b9 00 04 30 c0  f3 aa                    |j.....0...|
0000000a

I hope you weren't too attached to your interrupt table.

x86 machine code in real mode (=> almost any DOS program)

00000000  6a 00 07 b9 00 04 30 c0  f3 aa                    |j.....0...|
0000000a

i.e.

push 0
pop es
mov cx,400h
xor al,al
rep stosb

I hope you weren't too attached to your interrupt table.

Source Link
Matteo Italia
  • 3.8k
  • 1
  • 15
  • 22

x86 machine code in real mode (=> almost any DOS program)

00000000  6a 00 07 b9 00 04 30 c0  f3 aa                    |j.....0...|
0000000a

I hope you weren't too attached to your interrupt table.