Instruction manual

01d3 cd 0c 00 call write_char
01d6 c3 a7 01 jp dump_next_byte ;continue
01d9 3e 00 dump_new_line: ld a,000h ;reset line count to zero
01db 32 02 db ld (line_count),a
01de cd 89 02 call write_newline
01e1 2a 00 db ld hl,(current_location) ;location of start of line
01e4 7c ld a,h ;high byte of address
01e5 21 08 db ld hl, buffer
01e8 cd 88 00 call byte_to_hex_string ;convert
01eb 21 08 db ld hl,buffer
01ee cd 18 00 call write_string ;write high byte
01f1 2a 00 db ld hl,(current_location)
01f4 7d ld a,l ;low byte of address
01f5 21 08 db ld hl, buffer
01f8 cd 88 00 call byte_to_hex_string ;convert
01fb 21 08 db ld hl,buffer
01fe cd 18 00 call write_string ;write low byte
0201 3e 20 ld a,020h ;space
0203 cd 0c 00 call write_char
0206 c3 a7 01 jp dump_next_byte ;now write 16 bytes
0209 3e 00 dump_done: ld a,000h
020b 21 08 db ld hl,buffer
020e 77 ld (hl),a ;clear buffer of last string
020f cd 89 02 call write_newline
0212 c9 ret
0213 ;
0213 ;Memory load
0213 ;Loads RAM memory with bytes entered as hex characters
0213 ;Called with address to start loading in HL
0213 ;Displays entered data in 16-byte rows.
0213 22 00 db memory_load: ld (current_location),hl
0216 21 ee 03 ld hl,data_entry_msg
0219 cd 18 00 call write_string
021c c3 66 02 jp load_new_line
021f cd 7f 02 load_next_char: call get_char
0222 fe 0d cp 00dh ;return?
0224 ca 7b 02 jp z,load_done ;yes, quit
0227 32 08 db ld (buffer),a
022a cd 7f 02 call get_char
022d fe 0d cp 00dh ;return?
53