Sunday 5 January 2014

Windows Assembly (Debugger) lab

1. Cetak Hello World

1. debug
Start MS debug
2. assemble at address 100 (all DOS programs run here)
-a 100
angka 100 sesuai dengan alamat IP
mov ax, 0200
mov dx, 0048
int 21
mov dx, 0065
int 21
mov dx, 006c
int 21
mov dx, 006c
int 21
mov dx, 006f
int 21
mov dx, 0020
int 21
mov dx, 0077
int 21
mov dx, 006f
int 21
mov dx, 0072
int 21
mov dx, 006c
int 21
mov dx, 0064
int 21
mov dx, 0021
int 21
mov dx, 000d
int 21
mov dx, 000a
int 21
int 20 --> interrupts 20: terminates program
-h 014b 0100
-n cetakhelloworld.com
-rcx
:004b
-w
-q




No comments:

Post a Comment