Posts

Showing posts with the label Debug

One last step into assembly.

Image
Lets play with assembly language programming one last time.  This time let’s use dos assembly language programming. A program is a set of instructions much like a recipe. With this recipe, we will have to use commands like you might use stir in a recipe.To make this recipe, we will use debug.com which is sort of a simple interactive assembler/disassembler. Our goal with the program is to print out the letter A. Now that seems a bit simple, but you have to start somewhere. So fire up debug from the command prompt. We are going to use dosbox (dos simulator) to make it easy to capture images. Thall shalt document. But first let us look at the letter A. If we went to an ascii  (american standard code for information interchange) table we can see the letter A is 65. So far so good.. But the computer does not recognize that nunber as the letter A. You remember base 10 arithmetic. where you have ten fingers to work with to do math. Well the computer in this case has 16 fingers or ba...

Computing can be puzzling.

Image
Time to work a little bit on Robopet. Had two goals. First was to get the spare Palm to connect to the serial port and second to install the lightweight Boa web server. Thought that this would all go quite quickly and then off to hit the sack. But Noooooo.... Had everything up an running on Robopet. Tried to ssh into Robopet and no go. Logged into Robopet directly and found that the Ethernet port was not up and running. $ ifconfig lo        Link encap:Local Loopback            inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:16436  Metric:1           RX packets:0 errors:0 dropped:0 overruns:0 frame:0           TX packets:0 errors:0 dropped:...