]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/avr-asm-macros.S
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / avr-asm-macros.S
index 14f907c7e1c67555f565858e19de148520b262fe..ca8873415493c35b194f5ccc90e44a57c1b9bbc1 100644 (file)
@@ -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
 
 .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)
 
 .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)