repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
working demo
[mTask.git]
/
int
/
interface.h
diff --git
a/int/interface.h
b/int/interface.h
index
2d54bdf
..
b2968a9
100644
(file)
--- a/
int/interface.h
+++ b/
int/interface.h
@@
-11,6
+11,7
@@
extern char **gargv;
#endif
#define read16() 256*read_byte() + read_byte()
#endif
#define read16() 256*read_byte() + read_byte()
+#define from16(a, b) 256*a+b
uint8_t read_byte(void);
void write_byte(uint8_t b);
uint8_t read_byte(void);
void write_byte(uint8_t b);