Simple Processor (Assembly) icon

Simple Processor (Assembly)

AMITAVA CHAKRAVARTY (AC)
Free
1,000+ downloads

About Simple Processor (Assembly)

STRETCH YOUR IMAGINATION AND SKILL IN THE VIRTUAL WORLD OF PRIMITIVE PROCESSOR !!!

This is a simple hypothetical virtual processor built on a small number of instruction set.

You can write program in assembly like language and run it to test your program.

It has 4 general purpose registers A,B,C and D.
Instruction pointer(Program Counter) is denoted by PC.

It will display the register contents and PC value for each instruction executed.You can check the program output by inspecting the desired register value.

Instruction set consists of the following :

mov R1,R2 is [R1]<---[R2]
mov R1,N is [R1]<---N
add R1,R2 is [R1]<---[R1]+[R2]
add R1,N is [R1]<---[R1]+N
sub R1,R2 is [R1]<---[R1]-[R2]
sub R1,N is [R1]<---[R1]-N
mul R1,R2 is [R1]<---[R1]*[R2]
mul R1,N is [R1]<---[R1]*N
div R1,R2 is [R1]<---[R1]/[R2]
div R1,N is [R1]<---[R1]/N
jmp L is jump to location L
jzona L is jump to location L if [A]=0
jnzona is jump to location L if [A]!=0
jzonb is jump to location L if [B]=0
jnzonb is jump to location L if [B]!=0
jzonc is jump to location L if [C]=0
jnzonc is jump to location L if [C]!=0
jzond is jump to location L if [D]=0
jnzond is jump to location L if [D]!=0
hlt is stop

where R,R1,R2 are the any registers a,b,c or d
N is any number integer or floating point
L is the label
[R] means content of register R

You can write your own code and test it by running it.
You can stretch your imagination and extend your assembly programming logic in a constrained environment like this.

All these are *ABSOLUTELY FREE* ,*NO INAPP PURCHASES* and * NO ADS*.

This is very helpful for education purpose.

*** note : If there is any bug please report the bug to me through email.

Simple Processor (Assembly) Screenshots