View unanswered posts | View active topics It is currently Thu Aug 28, 2014 10:04 am






Reply to topic  [ 4 posts ] 
Assembly code / Low level language? Help required! 
Author Message
Rookie

Joined: Sun Dec 04, 2011 7:14 am
Posts: 2
Post Assembly code / Low level language? Help required!
I am due to take over a colleague's class soon and it involves teaching some sort of assembly language to electrical engineers. Up until now this has been done using 80x86; it's a well established method but to be honest, not terribly exciting! We already teach Java to a different group and use it to program some Mindstorms robots, and I would like to be able to do the same with the engineers but in assembler. I've already looked at NBC but there doesn't seem to be that much out there to go on - and I only have 10 weeks to come up with some new stuff for the class! Any suggestions would be much appreciated!


Sun Dec 04, 2011 7:26 am
Profile
Senior Roboticist
User avatar

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Post Re: Assembly code / Low level language? Help required!
I think that NBC is the only assembly language for NXT out there. I would suggest you look at the book "LEGO MINDSTORMS NXT Power Programming: Robotics in C" written by the creator of NXC and NBC. It shows you how to get started in both languages. It also has instructions for example robots.

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.


Sun Dec 04, 2011 12:08 pm
Profile WWW
Expert

Joined: Thu Sep 29, 2011 11:09 pm
Posts: 184
Location: Michigan USA
Post Re: Assembly code / Low level language? Help required!
NXC is built on NBC; so if you compile NXC code, it compiles to NBC and then to machine code. In BricxCC, you can hit F12 to view the NBC from the latest NXC compile. This has helped me a lot in learning to program in NBC.

_________________
Matt


Sun Dec 04, 2011 2:04 pm
Profile WWW
Rookie

Joined: Sun Dec 04, 2011 7:14 am
Posts: 2
Post Re: Assembly code / Low level language? Help required!
Thanks for the replies, folks. I have downloaded BricxCC and sent off for the book. I will let you all know how I get on!


Mon Dec 05, 2011 5:47 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.