Subject:
|
understanding the opcode
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 3 Sep 2003 14:51:51 GMT
|
Original-From:
|
Pierre Spring <rcx@caillou*NoSpam*.ch>
|
Viewed:
|
788 times
|
| |
| |
hi there,
i should write a scheme compiler for the RCX. so, first i am trying to
understand the opcode of the RCX. now there is one thing i really don't
get...
let's take the example of the 'Add to variable' function [1]. we have
the following args and the function does the following thing:
byte index
byte source
short argument
Add the value specified by source and argument to the value of variable
index, and store the result in variable index.
what i don't get is:
i.
how long is a short? my guess is 2 bytes.
ii.
what this value specified by source and argument is... what is this
argument???
i'd really be thankful if s.o. could help me out here.
yours
pierre spring
[1] http://graphics.stanford.edu/~kekoa/rcx/opcodes.html#add_to_variable
|
|
Message has 1 Reply: | | RE: understanding the opcode
|
| Pierre, Matt Jadud has done what you are trying to do on my pbForth firmware for the RCX. (URL) His weblog is here: (URL) You might try to contact him before you go too far down the road :-). The RCX native opcode execution may be too slow for any (...) (21 years ago, 3-Sep-03, to lugnet.robotics)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|