Comments (4)
ah. yea the assembler doesn't exactly tell you when the syntax is wrong. (known bug) you may want to take a look at the assembly section of the users manual. the basic arithmetic operations are add, sub, mul, and div. and they work on the values in Registers 1 and 2. and populate register 1 with the result. second, the wait instruction supports a decimal syntax. like so:
wait|:6.2
The actual operation takes a ternary-encoded fixed point number with a range from 0 to 19.683
The assembler is a bit, well dumb. most instructions will treat whats between the first and second separators as 9-trit wide ternary data... what happens is the trom winds up having lines that are too short and contain invalid characters that the VM simply doesn't know what to do with.
from sbtcvm-mark-2.
if what is in the users manual doesn't work or doesn't help, check some of the dozen-or-so test roms and accompanying source code. a good algorithm example would be fib.tasm (in VMSYSTEM/ROMS)
from sbtcvm-mark-2.
Ah I see! Thank you.
Not promising anything, but I'll see what I can do to improve SBTCVM-asm.txt.
from sbtcvm-mark-2.
All sorted, thanks!
I'm adding little extra bits of info to SBTCVM-asm.txt, as I said. I'll see about getting familiar with git so you can pull it when you want.
from sbtcvm-mark-2.
Related Issues (12)
- libvmui.textinput() and desktop shell builtin don't support moving cursor with mouse. HOT 5
- regset operation assembly keywords goto refrence bug (fixed) HOT 2
- The VM currently does not have any ways of accessing helpview. HOT 2
- What are some ways we can improve SBTCVM for the v2.0.3 release? HOT 3
- Addons. creating a coherent way of having additional utilities. (before we wind up with a mess) HOT 1
- What kinds of utilities & functionality Should we include with SBTCVM's desktop? HOT 3
- Failure to start with Python 3.6.3 HOT 5
- offsetlen queries HOT 1
- redesigning intro.tasm HOT 2
- help view: word wrap not right HOT 4
- calculator: right-clicking res>A doesn't work before the first result
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbtcvm-mark-2.