X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Favr-asm-macros.S;h=ca8873415493c35b194f5ccc90e44a57c1b9bbc1;hp=14f907c7e1c67555f565858e19de148520b262fe;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=751dde0799ad6190c21e8699b2f6e989b01acdd5 diff --git a/test_src/avr-asm-macros.S b/test_src/avr-asm-macros.S index 14f907c..ca88734 100644 --- a/test_src/avr-asm-macros.S +++ b/test_src/avr-asm-macros.S @@ -1,7 +1,7 @@ /* avr-asm-macros.S */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) + Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -157,7 +157,7 @@ .macro CLEAR_BIT_IO io:req bit:req reg:req .if _SFR_IO_REG_P(\io) - cbi _SFR_IO_ADDR(\io), bit + cbi _SFR_IO_ADDR(\io), \bit .else lds \reg, _SFR_MEM_ADDR(\io) andi \reg, ~_BV(\bit) @@ -167,7 +167,7 @@ .macro SET_BIT_IO io:req bit:req reg:req .if _SFR_IO_REG_P(\io) - sbi _SFR_IO_ADDR(\io),bit + sbi _SFR_IO_ADDR(\io), \bit .else lds \reg, _SFR_MEM_ADDR(\io) ori \reg, _BV(\bit)