23 lines
296 B
NASM
23 lines
296 B
NASM
.ORG 0x84 ; INT 21
|
|
DW 0xFFFF ; Code Segment
|
|
DW PRINT_INT_HANDLE ; Program Counter
|
|
|
|
org 0x100
|
|
INCLUDE brainfuck_compiler_v1.asm
|
|
|
|
prog:
|
|
INCLUDE hello_9086.bf.asm
|
|
|
|
PRINT_INT_HANDLE:
|
|
push AX
|
|
MOV AL,DL
|
|
out byte #0xA5
|
|
POP AX
|
|
iret
|
|
|
|
output_program:
|
|
|
|
.ORG 0xFFF0
|
|
MOV AX,#0x0100
|
|
JMP AX
|