Upload files to "/"

This commit is contained in:
Vichingo455 2025-04-06 08:46:58 +00:00
parent 6813b51e49
commit d8c75fc3e4
1 changed files with 29 additions and 0 deletions

29
es3_20250317.asm Normal file
View File

@ -0,0 +1,29 @@
ORG 300h
main:
LD HL, 0100h
LD B, 20h
LD C, 00h
LD D, 00h
Controlla:
LD A, (HL)
AND 01h
JP Z, Pari
Dispari:
INC D
JP Continua
Pari:
INC C
Continua:
INC HL
DEC B
JP NZ, Controlla
LD A, C
LD (0200h), A
LD A, D
LD (0201h), A
HALT