umka/apps/board_cycle.asm

32 lines
506 B
NASM

use32
org 0
db 'MENUET01'
dd 1, start, i_end, e_end, e_end, 0, 0
__DEBUG__ = 1
__DEBUG_LEVEL__ = 1
include 'proc32.inc'
include 'macros.inc'
include 'debug-fdo.inc'
EFLAGS.ID = 1 SHL 21
start:
pushfd
btr dword[esp], BSF EFLAGS.ID
popfd
@@:
jmp $
mcall 63, 1, '*'
jmp @b
exit:
mcall 18, 9, 2
mcall -1
mcall -2 ; just to check it's unreachable
;include_debug_strings
i_end:
rb 0x100 ;stack
e_end: