mirror of https://github.com/MLXXXp/Arduboy2.git
remove unnecessary carry
This commit is contained in:
parent
50df1a221b
commit
e235f26def
|
@ -300,7 +300,6 @@ void Arduboy2Base::drawPixel(int16_t x, int16_t y, uint8_t color)
|
||||||
"andi %A[row_offset], 0x80\n" // row_offset &= (~0b01111111);
|
"andi %A[row_offset], 0x80\n" // row_offset &= (~0b01111111);
|
||||||
"clr __zero_reg__\n"
|
"clr __zero_reg__\n"
|
||||||
"add %A[row_offset], %[x]\n"
|
"add %A[row_offset], %[x]\n"
|
||||||
"adc %B[row_offset], __zero_reg__\n"
|
|
||||||
// mask for only 0-7
|
// mask for only 0-7
|
||||||
"andi %[y], 0x07\n"
|
"andi %[y], 0x07\n"
|
||||||
// Z += y
|
// Z += y
|
||||||
|
|
Loading…
Reference in New Issue