mirror of https://github.com/MLXXXp/Arduboy2.git
tmp variables can be flagged as output only
- this saves a few bytes
This commit is contained in:
parent
5d428a3a33
commit
606c80268b
|
@ -334,9 +334,9 @@ void Sprites::drawBitmap(int16_t x, int16_t y,
|
||||||
: [xi] "+&r" (xi),
|
: [xi] "+&r" (xi),
|
||||||
[yi] "+&r" (yi),
|
[yi] "+&r" (yi),
|
||||||
[sRow] "+&d" (sRow), // CPI requires an upper register
|
[sRow] "+&d" (sRow), // CPI requires an upper register
|
||||||
[data] "+&r" (data),
|
[data] "=&r" (data),
|
||||||
[mask_data] "+&r" (mask_data),
|
[mask_data] "=&r" (mask_data),
|
||||||
[bitmap_data] "+&r" (bitmap_data)
|
[bitmap_data] "=&r" (bitmap_data)
|
||||||
:
|
:
|
||||||
[x_count] "r" (rendered_width),
|
[x_count] "r" (rendered_width),
|
||||||
[y_count] "r" (loop_h),
|
[y_count] "r" (loop_h),
|
||||||
|
|
Loading…
Reference in New Issue