mirror of
https://github.com/aap/pdp6.git
synced 2026-05-05 23:45:51 +00:00
been working on a new assmbler and a linker
This commit is contained in:
21
tools/pdp6common.h
Normal file
21
tools/pdp6common.h
Normal file
@@ -0,0 +1,21 @@
|
||||
typedef uint64_t word;
|
||||
typedef uint32_t hword;
|
||||
|
||||
word fw(hword l, hword r);
|
||||
word point(word pos, word sz, hword p);
|
||||
hword left(word w);
|
||||
hword right(word w);
|
||||
word negw(word w);
|
||||
int isneg(word w);
|
||||
|
||||
char ascii2rad(char c);
|
||||
char rad2ascii(char c);
|
||||
int israd50(char c);
|
||||
word rad50(int n, const char *s);
|
||||
int unrad50(word r, char *s);
|
||||
char ascii2sixbit(char c);
|
||||
char sixbit2ascii(char c);
|
||||
int issixbit(char c);
|
||||
word sixbit(const char *s);
|
||||
void unsixbit(word sx, char *s);
|
||||
char *disasm(word w);
|
||||
Reference in New Issue
Block a user