Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MVI H, 1h ;Skok o 100
- MVI D, 4Bh;Ilosc Wykonania Petli
- MVI A, 8h ; Moment w ktorym wpisuje flage
- MVI E, 1h ; Wykonanie Petli Flaga
- MVI C, 14
- MVI B, 1h
- Petla20:
- MVI M,20h
- INR L
- CMP L
- JZ Flaga2A
- DCR D
- JNZ Petla20
- MVI D,40h
- JMP Petla0A
- Flaga2A:
- MVI M,2Ah
- INR L
- DCR D
- DCR E
- JNZ Flaga2A
- MOV A,L
- ADD C
- DCR C
- INR B
- MOV H,A
- MOV A,B
- MOV E,A
- MOV A,H
- MVI H,1h
- JNZ Petla20
- Petla0A:
- MVI M,0Ah
- INR L
- DCR D
- JNZ Petla0A
- MVI D,4h
- MVI A,58h
- MasztA2:
- MOV L,A
- MVI M,2Ah
- ADI 10h
- DCR D
- JNZ MasztA2
- HLT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement