I’m programming the ATMEL 89C52 using its assembly language and I have a problem making part of a program... I want to compare two values stored in two different registers, say R0 and R1 and I want to make a program that would do the function of:
CJNE R0,R1,HERE
I tried putting one of the two values in the accumulator A but it didn't work as I’m still getting "unknown instruction" error each time I run the assembler
please help
2006-08-04
10:48:12
·
3 answers
·
asked by
MiG
2
in
Computers & Internet
➔ Programming & Design
CJNE A,R0,HERE didn't work either
2006-08-05
04:00:38 ·
update #1