Assembly Microcontroller Simulator in Javascript DevLog: Pushbutton Input, Finite State Machine

Published: 30 January 2025
on channel: Christian Bonin
18
1

Lots of exciting working functionality now.
Example program:

jmp loop

left:
add acc -1
jmp loop

right:
add acc 1
jmp loop

up:
add acc -10
jmp loop

down:
add acc 10
jmp loop

loop:
slp 1
mov acc p1
tgt p0 0
add dat 1
tgt dat 3
mov 0 dat
teq dat 0
jmp down
teq dat 1
jmp left
teq dat 2
jmp up
teq dat 3
jmp right

You can test it yourself here:
http://54.193.52.88/featured.php

Code is on GitHub:
https://github.com/HamboCabinsky/simu...

I'm looking forward to adding more components, more simulated electronics, simulated circuits.


On this page of the site you can watch the video online Assembly Microcontroller Simulator in Javascript DevLog: Pushbutton Input, Finite State Machine with a duration of hours minute second in good quality, which was uploaded by the user Christian Bonin 30 January 2025, share the link with friends and acquaintances, this video has already been watched 18 times on youtube and it was liked by 1 viewers. Enjoy your viewing!