// NOT COMPLETE! // Data file for Carpinelli Very Simple example // Carpinelli, pp 216ff // changes ram, name M, size 64 8 register, name AC, size 8 register, name AR, size 6 register, name PC, size 6 register, name DR, size 8 register, name IR, size 2 assembler word, bytes 1 format, name f0, words 1, fieldCount 0, codeBits 0 15 format, name f1, words 1, fieldCount 1, codeBits 6 7, f1 0 5 ADD, f1, 0000 // add memory to AC AND, f1, 0001 // and memory with/to AC JMP, f1, 0002 // jump to memory location INC, f0, 0003 // increment AC HLT, f0, 000F // HALT endAssembler helpComputer Computer Simulator - Carpinelli Very Simple Computer
The computer is defined in:
Computer Systems: Organization and Architecture
John D. Carpinelli
Addison-Wesley, 2001 endHelp helpAssembler Help for Carpinelli's very simple computer assembly language.

This computer has the following commands:
InstructionCodeOperation
ADD00aaaaaaAC ← AC + M[aaaaaa]
AND01aaaaaaAC ← AC ∧ M[aaaaaa]
JMP10aaaaaaGOTO aaaaaa
INC11xxxxxxAC ← AC + 1
endHelp