??? 10/20/06 22:50 Read: times Msg Score: -1 -1 Didn't Search First |
#126847 - Relational Operators |
Hello Everyone,
I'm very new to 8031 programming so please bear me. I need to break out of a loop if the value of a register is less then or equal to a specific value. I've tried using the relational operator LE to compare the the value in the register, R2, to the fixed value of 08H with the MOV command. The idea is to set a 00H or FFH value in the Accumulator and then use the JNB command on ACC.0 but it doesn't seem to be working. MOV A,R2 LE #08H Does anyone know of a way I can do this in a fashion that will work? Thanks Greg |
Topic | Author | Date |
Relational Operators | 01/01/70 00:00 | |
Eh??? | 01/01/70 00:00 | |
More reading to be done | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
errata | 01/01/70 00:00 | |
Oh the shame! | 01/01/70 00:00 | |
no shame | 01/01/70 00:00 | |
well threre is no LE in chapter 2 | 01/01/70 00:00 | |
Differs from family to family![]() | 01/01/70 00:00 |