new version
[Chiptunes-pms150c.git] / fakeasm.h
CommitLineData
5ebb16dc
TG
1#define MOV(dst, src) dst = src;
2#define SL(dst) dst <<= 1;
3#define SR(dst) dst >>= 1;
4#define SWAP(dst) dst = (dst<<4 | dst>>4); //XXX: only for ACC!
5#define AND(dst, src) dst &= src; //xxx: overloaded for acc/mem/imm
6#define OR(dst, src) dst |= src;
7#define CLEAR(dst) dst = 0;
8#define ADD(dst, src) dst += src; //xxx: overloaded for acc/mem/imm
Imprint / Impressum