Age | Commit message (Collapse) | Author |
|
the suffix.
I added this because BieHDC said the already existing
notation glowed in the dark too much.
|
|
I also added the ASR instruction, for doing arithmetic
shifts, and have added a hello world program.
|
|
AKA, referencing a label before it has been declared
yet.
|
|
between the three main registers.
These instructions are:
TAY: Transfer Accumulator to Y.
TAX: Transfer Accumulator to X.
TYX: Transfer Y to X.
TYA: Transfer Y to Accumulator.
TXA: Transfer X to Accumulator.
TXY: Transfer X to Y.
|
|
from it into sux.c.
|
|
I have also added a program that computes the
Fibonacci sequence that I wrote in Sux assembly.
|
|
|
|
|
|
Any instructions that either have a register size of
8 bits, use implied addressing, or branch can save a
byte by disabling the prefix byte.
It does this by checking if the first three bits are
all set to 1.
If true, then it will treat it as a prefix
byte, otherwise, it will treat it as an opcode.
|
|
Added a prefix byte to tell the CPU certain
information such as, how many bytes to load into the
registers, or what ISA extension we want to use.
I also added an assembly language monitor, so that I
don't have to write stuff in machine code.
|
|
I have now implemented BRK, and RTI.
Also, BieHDC, and I will both be working on rev2.
|
|
I finally implemented the other addressing modes, and
added a Makefile.
Not sure when I will start work on rev2 of Sux, but it
will be sometime soon.
|
|
Fixed stack based instructions.
Fixed the rotate instructions.
Added carry to the shift instructions.
|
|
|
|
some unneeded instructions.
|
|
revamp some other stuff.
|
|
|
|
|
|
Sux emulator.
|