Don't suppose theres anyone that can figure out why this code wont assemble is there...its got me!
Problem code -
Error Message -
Problem code -
Code:
Decrypt: CALL 189C
PUSH PSW ; copy stack pointer to A reg and increment stack pointer by 2
MOV A, C
ANI 3C ; AND the imediate data
RLC ; shift bits left
DCR A ; subtract 1 from the value in the A register
MOV D, A
POP PSW
XRA D ; reset the D register to zero
XRA C ; reset the C register to zero
RRC
RET
POP DE ;
MOV M, A
INX H
INR D, ; add 1 to the D register
JNZ 183D
ret
Error Message -
Code:
182B CD001A DECRYPT: CALL 189C
RC = 4: Invalid decimal number