0040 L0040:
0040 : F3 " " [4] di
0041 : 3E 0F "> " [7] mvi a,00FH
0043 : 30 "0" [4] sim
0044 : 3E 40 ">@" [7] mvi a,040H
0046 : 30 "0" [4] sim
0047 : 01 00 00 " " [10] lxi b,00000H
004A L004A:
004A : 0B " " [6] dcx b
004B : 78 "x" [4] mov a,b
004C : B1 " " [4] ora c
004D : C2 4A 00 " J " [7/10] jnz L004A
RESET: ; Power-ups are vectored to here, where
; things are initialised.
DI ; Disable interrupts,
SIMASK 00001111B ; and mask them out to make sure,
; as some routines may re-enable interrupts
; during initialisation.
SOD LO ; So screen will not be written to.
LXI B,0 ; Do nothing for about 1/2 second,
RSTLOP: DCX B ; while things warm up.
MOV A,B ; NB this loop doesn't use RAM.
ORA C
JNZ RSTLOP