This is a generated HTML by EP-128 Basic Lister

File name: tests/minimal.com (228 bytes) Options : {'info': '', 'bin': None, 'cset': 'UK', 'html': '', 'dasm': '', 'out': 'result-dasm-real.html'} EP-ASCII: UK EXOS header pos/serial: #0 at 0x0 EXOS type/header: 0x5 [00 05 D4 00 00 00 00 00 00 00 00 00 00 00 00 00] EXOS type determined: User program (ML)
Program load address: 0x100, size is 0xd4, last byte is 0x1d3 Program start address (+ code hint points): 0x100 ML analyzation mode: disassembly 133 locations in the image 5/6 data/code labels created 11 iterations used to disassemble 13 xref points found
; Disassembled by LGB's two pass Z80/Enterprise disassembler ORG 0xF0 DB 0x00,0x05,0xD4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ; EXOS header MACRO EXOS n ; by LGB RST 0x30 DB n ENDMACRO PROGRAM_ENTRY_POINT: ; code label ; Disassembler: switching to CODE mode ; Code analyzation starting point at iteration #1 of 11 LD SP,$03D4 ; 0103 31 D4 03 "1??" LD A,$0C ; 0105 3E 0C ">?" ; I/O on port 0xbf: Dave memory wait states OUT ($BF),A ; 0107 D3 BF "??" LD BC,$0116 ; 010A 01 16 01 "???" LD D,$00 ; 010C 16 00 "??" ; EXOS call, unknown function: 0x10 ; A=0xc EXOS $10 ; 010E F7 10 "??" LD BC,$0117 ; 0111 01 17 01 "???" LD D,$00 ; 0113 16 00 "??" ; EXOS call, unknown function: 0x10 EXOS $10 ; 0115 F7 10 "??" LD BC,$0118 ; 0118 01 18 01 "???" LD D,$28 ; 011A 16 28 "?(" ; EXOS call, unknown function: 0x10 EXOS $10 ; 011C F7 10 "??" LD BC,$0119 ; 011F 01 19 01 "???" LD D,$18 ; 0121 16 18 "??" ; EXOS call, unknown function: 0x10 EXOS $10 ; 0123 F7 10 "??" LD A,$66 ; 0125 3E 66 ">f" ; EXOS filename string for EXOS call 0x2 at 0x128 LD DE,EXOS_STR_018D ; 0128 11 8D 01 "???" ; EXOS call (0x2): Create channel ; DE is known! :-) -> 0x18d ; A=0x66 EXOS $02 ; 012A F7 02 "??" LD A,$66 ; 012C 3E 66 ">f" LD BC,$0101 ; 012F 01 01 01 "???" ; EXOS filename string for EXOS call 0xb at 0x132 LD DE,$1801 ; 0132 11 01 18 "???" ; EXOS call, unknown function: 0xb ; DE is known! :-) -> 0x1801 ; A=0x66 EXOS $0B ; 0134 F7 0B "??" LD A,$69 ; 0136 3E 69 ">i" ; EXOS filename string for EXOS call 0x1 at 0x139 LD DE,EXOS_STR_0194 ; 0139 11 94 01 "???" ; EXOS call (0x1): Open channel ; DE is known! :-) -> 0x194 ; A=0x69 EXOS $01 ; 013B F7 01 "??" LD A,$67 ; 013D 3E 67 ">g" ; EXOS filename string for EXOS call 0x1 at 0x140 LD DE,EXOS_STR_019E ; 0140 11 9E 01 "???" ; EXOS call (0x1): Open channel ; DE is known! :-) -> 0x19e ; A=0x67 EXOS $01 ; 0142 F7 01 "??" CALL SUB_01C4 ; 0145 CD C4 01 "???" LD A,$66 ; 0147 3E 66 ">f" ; EXOS filename string for EXOS call 0x8 at 0x14d LD DE,EXOS_STR_01AB ; 014A 11 AB 01 "???" LD BC,$0019 ; 014D 01 19 00 "???" ; EXOS call, unknown function: 0x8 ; DE is known! :-) -> 0x1ab ; A=0x66 EXOS $08 ; 014F F7 08 "??" CALL SUB_0186 ; 0152 CD 86 01 "???" CALL SUB_017C ; 0155 CD 7C 01 "?|?" ; EXOS filename string for EXOS call 0x1a at 0x158 LD DE,EXOS_STR_01A5 ; 0158 11 A5 01 "???" ; EXOS call, unknown function: 0x1a ; DE is known! :-) -> 0x1a5 EXOS $1A ; 015A F7 1A "??" NEAR_015A: ; code label ; Referenced at 015D ; I/O on port 0x81: Nick border color OUT ($81),A ; 015C D3 81 "??" INC A ; 015D 3C "<" ; Opcode breaks the linear code flow JR NEAR_015A ; 015F 18 FB "??" ; fall-back code analyzation starting point [maybe incorrect, and this is data!] ; Code analyzation starting point at iteration #5 of 11 PUSH IX ; 0161 DD E5 "??" LD IX,$0000 ; 0165 DD 21 00 00 "?!??" ADD IX,SP ; 0167 DD 39 "?9" LD A,(IX+$04) ; 016A DD 7E 04 "?~?" CP $0A ; 016C FE 0A "??" LD B,A ; 016D 47 "G" LD A,$66 ; 016F 3E 66 ">f" JR NZ,NEAR_0177 ; 0171 20 06 " ?" ; EXOS call, unknown function: 0x7 ; A=0x66 EXOS $07 ; 0173 F7 07 "??" LD B,$0D ; 0175 06 0D "??" LD A,$66 ; 0177 3E 66 ">f" NEAR_0177: ; code label ; stop analyzing: already analyzed code at iteration #6: Opcode (or part of it) has been already analyzed ; Referenced at 016F ; EXOS call, unknown function: 0x7 ; A=0x66 EXOS $07 ; 0179 F7 07 "??" POP IX ; 017B DD E1 "??" ; Opcode breaks the linear code flow RET ; 017C C9 "?" SUB_017C: ; code label ; Referenced at 0152 ; Code analyzation starting point at iteration #2 of 11 PUSH IX ; 017E DD E5 "??" LD A,$69 ; 0180 3E 69 ">i" ; EXOS call, unknown function: 0x5 ; A=0x69 EXOS $05 ; 0182 F7 05 "??" LD L,B ; 0183 68 "h" POP IX ; 0185 DD E1 "??" ; Opcode breaks the linear code flow RET ; 0186 C9 "?" SUB_0186: ; code label ; stop analyzing: already analyzed code at iteration #7: Opcode (or part of it) has been already analyzed ; Referenced at 014F ; Code analyzation starting point at iteration #3 of 11 LD A,$67 ; 0188 3E 67 ">g" LD B,$07 ; 018A 06 07 "??" ; EXOS call, unknown function: 0x7 ; A=0x67 EXOS $07 ; 018C F7 07 "??" ; Opcode breaks the linear code flow RET ; 018D C9 "?" EXOS_STR_018D: ; data label ; stop analyzing: in fall-back mode data label found, revoking further CODE mode ; Referenced at 0128 ; Disassembler: switching to DATA mode DB $06 ; 018D 06 "?" DB "VIDEO:" ; 018E 56 49 44 45 4F 3A "VIDEO:" EXOS_STR_0194: ; data label ; Referenced at 0139 DB $09 ; 0194 09 "?" DB "KEYBOARD:" ; 0195 4B 45 59 42 4F 41 52 44 3A "KEYBOARD:" EXOS_STR_019E: ; data label ; Referenced at 0140 DB $06 ; 019E 06 "?" DB "SOUND:" ; 019F 53 4F 55 4E 44 3A "SOUND:" EXOS_STR_01A5: ; data label ; Referenced at 0158 DB $05 ; 01A5 05 "?" DB "BASIC" ; 01A6 42 41 53 49 43 "BASIC" EXOS_STR_01AB: ; data label ; Referenced at 014D DB $0A ; 01AB 0A "?" DB $0D ; 01AC 0D "?" DB "Exit. Any key to BASIC." ; 01AD 45 78 69 74 2E 20 41 6E 79 20 6B 65 79 20 74 6F 20 42 41 53 49 43 2E "Exit. Any key to BASIC." SUB_01C4: ; code label ; Referenced at 0142 ; Disassembler: switching to CODE mode ; Opcode breaks the linear code flow ; Code analyzation starting point at iteration #4 of 11 RET ; 01C5 C9 "?" ; fall-back code analyzation starting point [maybe incorrect, and this is data!] ; Code analyzation starting point at iteration #9 of 11 LD B,L ; 01C6 45 "E" LD A,D ; 01C7 7A "z" LD A,D ; 01C8 7A "z" LD H,L ; 01C9 65 "e" LD L,H ; 01CA 6C "l" JR NZ,$0239 ; 01CC 20 6D " m" LD L,C ; 01CD 69 "i" JR NZ,$023B ; 01CF 20 6C " l" LD H,L ; 01D0 65 "e" LD (HL),E ; 01D1 73 "s" LD A,D ; 01D2 7A "z" CCF ; 01D3 3F "?" ; stop analyzing: out-of-bound opcode #9: Out-of-bound code, end of image before decoding the op ; Disassembler: switching to DATA mode DB $21 ; 01D3 21 "!" END_OF_PROGRAM: ; Do not put anything after this!
End of FILE parsing, because: After type-5 header



Enterprise-128 Basic File Lister v0.4.1 ©2012,2013 LGB Gábor Lénárt lgb@lgb.hu