cpu 8086 org 0x0100 jmp main main: mov ax,0x1000 mov bx,0x0000 mov cx,0x0800 call mtab_set call mtab_dump ret %include "kprintf.asm" ; mem MUST be last because it will write after itself %include "mem.asm"