IDA Disassemblies Gallery

Z8

Assembler code
code:0000000C code:0000000C ; =============== S U B R O U T I N E ======================================= code:0000000C code:0000000C code:0000000C ; public start code:0000000C start: code:0000000C code:0000000C ; FUNCTION CHUNK AT code:00000139 SIZE 00000016 BYTES code:0000000C code:0000000C ld p2m, #0 ; Port 2 mode register code:0000000F ld p3m, #1 ; Port 3 mode register code:00000012 ld p01m, #4 ; Ports 0-1 mode register code:00000015 ld ipr, #1Ch ; Interrupt priority register code:00000018 ld imr, #21h ; '!' ; Interrupt mask register code:0000001B ld R4, #0Fh code:0000001E ld R5, #0Fh code:00000021 ld R6, #0Fh code:00000024 srp #10h code:00000026 .rp 10h code:00000026 code:00000026 ; public Start code:00000026 Start: ; Program control flags code:00000026 clr flags code:00000028 ld spl, #40h ; '@' ; Stack pointer low byte code:0000002B clr irq ; Interrupt request register code:0000002D ei code:0000002E ld R32, #10h code:00000031 ld R31, #0Fh code:00000033 code:00000033 ; public zero code:00000033 zero: ; CODE XREF: start+2B↓j code:00000033 clr @R32 code:00000035 inc R32 code:00000037 djnz R31, zero code:00000039 ld p2, #0FFh ; Port 2
Download an image of this disassembly