include all files
This commit is contained in:
8
include/asm.h
Normal file
8
include/asm.h
Normal file
@@ -0,0 +1,8 @@
|
||||
/* Contains some assembly-specific instructions
|
||||
* that ought to be beneficial*/
|
||||
#pragma once
|
||||
|
||||
#define lo8(x) ((x) & 0xFF) /* Use bits 0..7 of x. */
|
||||
#define hi8(x) (((x) >> 8) & 0xFF) /* Use bits 8..15 of x. */
|
||||
#define hlo8(x) (((x) >> 16) & 0xFF) /* Use bits 16..23 of x. */
|
||||
#define hhi8(x) (((x) >> 24) & 0xFF) /* Use bits 24..31 of x. */
|
||||
0
include/avr.h
Normal file
0
include/avr.h
Normal file
8
include/avr/avr128da28.h
Normal file
8
include/avr/avr128da28.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "asm.h"
|
||||
|
||||
/* I/O addresses. */
|
||||
#define SPH 0x3E /* Stack pointer high address. */
|
||||
#define SPL 0x3D /* Stack pointer low address. */
|
||||
#define RAMEND 0x4000 /* The maximum address available in RAM. */
|
||||
Reference in New Issue
Block a user