??? 01/10/08 16:56 Read: times |
#149240 - a double negative ??? Responding to: ???'s previous message |
If Accumulator bits 3-0 are greater than nine (xxx1010-xxx1111), or if the AC flag is one, six is added to
the Accumulator with a f132: 1) with AC zero mov a,#10 da a result 1n 0x10 in the acc 2) with AC set mov a,#10 da a result 1n 0x0a in the acc 3) with AC zero mov a,#07 da a result 1n 0x07 in the acc 4) with AC set mov a,#07 da a result 1n 0x07 in the acc case 2 could be a double negative, case 4 is, as far as I can judge wrong. why not try it in the Keil simulator Erik |