Simple Processor (Assembly)

AMITAVA CHAKRAVARTY (AC)

Simple Processor (Assembly)

ابزارها
  • 0.00
(0 رای)

نصب رایگان

1000

نصب ها

Android 2.2+

نسخه حداقل

با تبلیغات

تبلیغات

14.05.2016

تاریخ انتشار

توضیحات:

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.

AMITAVA CHAKRAVARTY (AC) برنامه های دیگر

King Problem

King Problem

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Call Notifier & Voice Recorder

Call Notifier & Voice Recorder

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Tiling Problem

Tiling Problem

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Knight's Move

Knight's Move

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Chess Knights Interchange

Chess Knights Interchange

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Coin Collector Game

Coin Collector Game

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Journey with Mohammed Rafi

Journey with Mohammed Rafi

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Journey with Kishore Kumar

Journey with Kishore Kumar

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Lata Mangeshkar Hindi Songs

Lata Mangeshkar Hindi Songs

AMITAVA CHAKRAVARTY (AC)
  • 0.00
Chess Queen,Knight and Bishop

Chess Queen,Knight and Bishop

AMITAVA CHAKRAVARTY (AC)
  • 0.00
دانلود