NAME=MZ: blocks.exe - open
FILE=bins/mz/blocks.exe
ARGS=-A
CMDS=q!
EXPECT=<<EOF
EOF
RUN

NAME=MZ: blocks.exe - entrypoint
FILE=bins/mz/blocks.exe
CMDS=s
EXPECT=<<EOF
0x0
EOF
RUN

NAME=MZ: blocks.exe - pi 1
FILE=bins/mz/blocks.exe
CMDS=pi 1
EXPECT=<<EOF
mov ax, 0xba0
EOF
RUN

NAME=MZ: blocks.exe segments
BROKEN=1
FILE=bins/mz/blocks.exe
CMDS=iS*
EXPECT=<<EOF
fs sections
S 0x00000070 0x00000070 0x0000385d 0x0000385d seg_000 23
f section.seg_000 14429 0x00000070
f section_end.seg_000 1 0x000038cd
CC section 0 va=0x00000070 pa=0x00000070 sz=14429 vsz=14429 rwx=-rwx seg_000 @ 0x00000070
EOF
RUN
