This is a recreation thing of the ARPv2 "pseudo-emulator" to make a more realistic processor. It exists as a header module to be included with a main program.
The manual for the ARP is updated and support for peripherals would be added
Interfacing with the data structures and instructions is done primarily through functions declared
in arp.h
. Most functions require the argument of an Arp
struct to be used as to allow a sort of
object view for the CPU. And also to set up multiple different cores for some stuff.
Been lazy lately
Example Prog: Example.c
- Three addressing modes exist. Indirect/Direct/NoMode.
- The bus exists as a object defined in an
Arp
struct. - Compilation outputs a shared library.
Use Makefile to output binaries for it given the flags
To make edits to config in makefile use conf.mk
Compiled in gnu99 Standard -std=gnu99
Compilation outputs a shared library
install: Install to lib path
uninstall: Remove from lib path
clean: Remove object compiled files