1
0
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:
aap
2016-10-12 22:18:29 +02:00
parent 6311e92a7c
commit d71efecbb3
9 changed files with 1734 additions and 99 deletions

21
tools/pdp6common.h Normal file
View 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);