1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-30 23:08:05 +11:00
collapseos/avr/avr.h

11 lines
293 B
C
Raw Normal View History

; *** CPU registers aliases ***
.equ SREG_C 0 ; Carry Flag
.equ SREG_Z 1 ; Zero Flag
.equ SREG_N 2 ; Negative Flag
.equ SREG_V 3 ; Two's Complement Overflow Flag
.equ SREG_S 4 ; Sign Bit
.equ SREG_H 5 ; Half Carry Flag
.equ SREG_T 6 ; Bit Copy Storage
.equ SREG_I 7 ; Global Interrupt Enable