-
Notifications
You must be signed in to change notification settings - Fork 0
/
hello.lst
15 lines (15 loc) · 899 Bytes
/
hello.lst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1 00000000 [INSTRSET "i486p"]
2 00000000 [BITS 32]
3 00000000 B9 00000019 MOV ECX,msg
4 00000005 BA 00000001 MOV EDX,1
5 0000000A putloop:
6 0000000A 2E 8A 01 MOV AL,[CS:ECX]
7 0000000D 3C 00 CMP AL,0
8 0000000F 74 07 JE fin
9 00000011 CD 40 INT 0x40
10 00000013 83 C1 01 ADD ECX,1
11 00000016 EB F2 JMP putloop
12 00000018 fin:
13 00000018 CB RETF
14 00000019 msg:
15 00000019 68 65 6C 6C 6F 00 DB "hello",0