Image:
Author: Kutis96 Group: Default Filesize: 24.45 kB Date added: 2014-04-27 Rating: 5.6 Downloads: 817 Views: 392 Comments: 3 Ratings: 2 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
A preview of my upcoming creation, an SIM1000 microcomputer.
Instructions:
//0 NOP
//1, a, b, y ADD a, b, y - Add a to b
//2, a, b, y SUB a, b, y - Subtract b from a
//3, a, y INC a, y - Increment a
//4, a, y DEC a, y - Decrement a
//5, a, b, y AND a, b, y - \
//6, a, b, y OR a, b, y - \ NOT YET
//7, a, y NOT a, y - negate a / IMPLEMENTED!
//8, r, adr IN r, adr - Input from bus to r
//9, r, adr OUT r, adr - Output to bus from r
//10, r, val LD r, val
//11, r PUSH r - Push r to stack
//12, r POP r - Pop r from stack
//13, adr JMP adr - Jump to r
//14, adr JIZ adr - Jump If Zero to r
//15, adr CALL adr - Call r
//16 RET - Return
//17 HALT - Halt
//18, r SSP r - set Stack Pointer
//20, a, b MV a, b - Move B to A
//96 memadr LDINT memadr - Load program from internal ROM
Currently, there's only a Hello World! program loaded.
Press F2 to reset/run.
I have actually made a fibonacci series calculator on it as well, but it wrote stuff directly to memory instead of a screen.
Working on a screen-ready version of it as well, shouldn't be that hard to make at all.
Seriously take this as just a preview, a whole bunch of stuff may and will change, mainly in the SIM1001 chip and also some features will be added to the main one as well.
I'M BACK FELLAS!
Kutis96 |