2023-03-09 06:02:41 +00:00
|
|
|
.ORG 0x84 ; INT 21
|
|
|
|
DW 0xFFFF ; Code Segment
|
|
|
|
DW PRINT_INT_HANDLE ; Program Counter
|
|
|
|
|
2023-03-08 07:26:28 +00:00
|
|
|
org 0x100
|
2023-02-19 21:42:59 +00:00
|
|
|
INCLUDE brainfuck_compiler_v1.asm
|
|
|
|
|
|
|
|
prog:
|
2023-03-03 19:36:28 +00:00
|
|
|
INCLUDE hello_9086.bf.asm
|
2023-03-09 06:02:41 +00:00
|
|
|
|
|
|
|
PRINT_INT_HANDLE:
|
|
|
|
push AX
|
|
|
|
MOV AL,DL
|
|
|
|
out byte #0xA5
|
|
|
|
POP AX
|
|
|
|
iret
|
|
|
|
|
2023-02-25 01:42:09 +00:00
|
|
|
output_program:
|
2023-03-08 07:26:28 +00:00
|
|
|
|
|
|
|
.ORG 0xFFF0
|
|
|
|
MOV AX,#0x0100
|
|
|
|
JMP AX
|