Пт ноя 03, 2023 10:43:38
begin:
; Configure VV55
ld bc, FFh ; port
ld a, 0h ; byte
out (FFh), a ; out
; micro wait
ld b, 0
micro_wait:
nop
nop
nop
nop
nop
djnz micro_wait
;end micro wait
main:
ld bc, FFh ; port
ld a, FFh ; byte
out (0h), a ; out
time_wait:
ld a, 0 ; for big loop compare
ld c, 0 ; big wait loop
ld b, 0 ; small wait loop
small_loop:
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
djnz small_loop ; end small wait loop
dec c
cp c
jr nz, time_wait
ld bc, FFh ; port
ld a, 0h ; byte
out (0h), a ; out
time_wait2:
ld a, 0 ; for big loop compare
ld c, 0 ; big wait loop
ld b, 0 ; small wait loop
small_loop2:
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
djnz small_loop2 ; end small wait loop
dec c
cp c
jr nz, time_wait2
jp begin
Пт ноя 03, 2023 14:32:28
Сб ноя 04, 2023 09:17:55
Вс ноя 05, 2023 16:43:30
Вс ноя 12, 2023 11:33:25