??? 05/09/09 07:48 Read: times |
#165188 - "CLR Reg" and "MOV Reg,#0 issue |
Description: CLR clears (sets to 0) all the bit(s) of the indicated register. If the register is a bit (including the carry bit), only the specified bit is affected. Clearing the Accumulator sets the Accumulator’s value to 0
Means Reg after CRL will be zero Description: MOV copies the value of operand2 into operand1. The value of operand2 is not affected. Both operand1 and operand2 must be in Internal RAM. No flags are affected unless the instruction is moving the value of a bit into the carry bit in which case the carry bit is affected or unless the instruction is moving a value into the PSW register (which contains all the program flags). Means Reg after a MOV Reg,#0 Reg will be zero. Why I get strange strange results when I use CLR Reg? |
Topic | Author | Date |
"CLR Reg" and "MOV Reg,#0 issue | 01/01/70 00:00 | |
"allowed" parameters | 01/01/70 00:00 | |
I was certain was just a dumbt mine... | 01/01/70 00:00 | |
Which assembler? | 01/01/70 00:00 | |
whar register? | 01/01/70 00:00 |