tmp variables can be flagged as output only

- this saves a few bytes
This commit is contained in:
Josh Goebel 2017-04-21 20:11:18 -04:00 committed by Scott Allen
parent 5d428a3a33
commit 606c80268b
1 changed files with 3 additions and 3 deletions

View File

@ -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),