Scroll down to the literature section and download the two PDFs.
For assembly, I would recommend starting off with an installation
of BrickOS and perusing the various source code files for the
kernel. You'll find a fair bit of assembly code mixed in with the
C code.
Of course, you must visit Kekoa's RCX Internals site:
Note: Since you mentioned fiddling with the motor ports, the motor
bits on Kekoa's page are inverted from what they should be (I've
emailed him). See this post for the correct bit patterns:
Cool, thanks I was able to find the doc here: (URL) post about the motor seems helpful, so if I understand right the way to run motor A forward would be "mov 0x030003,r0h mov 0x80,r0h" and for the motor C the same except 0x06? How does the (...) (21 years ago, 17-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
I was interested in writing some assembly code for the lego mindstorm, I don't plan on writing an incredibly complex program though. I am learning asm for the z80 chip so I have a little experience. I only want a single threaded application with one (...) (21 years ago, 16-Jul-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)