Tuesday, January 29, 2008

in-lab objectives for the day, and homework

Things we need to do today:

  • check out SSH to get to wocsc
  • run a simple program with simple changes from weblog
  • copy author's I/O routines from his site to wocsc accounts, via Windows desktop
  • run author's sample program from Appendix B

All of this will require careful consideration of our desired directory structure.

Homework: send a new .asm program based on Dandamudi's sample.asm by e-mail to vfitton on wocsc.

submitting homework

Please send listings to my wocsc address, which is vfitton at wocsc.nvcc.edu. Expect new instructions as I figure out which servers are complaining about what.

some hello to cut and paste

Click for Windows hello and for Linux hello.

decent ASCII chart

from Unicode.org — click here

Tuesday, January 22, 2008

206 week two

Discussion topics for the day:
  • binary numeration
  • overview of assembly langauge
  • assembly instruction types
  • practice on Windows version of Hello

Here's the handout I couldn't print for class.
Assignment:
  • Reading:
    • Appendix A on number representation, pp 529 to 551
    • Character representation, pp 561 to 563
    • Chapter 1, pp 3 to 14
    • Chapter 2, pp 19 to 21, then lightly through the rest
    • Chapter 3, pp 47 to 53
  • Problems: A-1 to A-14, pp 564 to 565
  • Practical: run Hello, world both on a Windows machine and on the Linux server. Send the instructor a listing file (either platform) by e-mail when you have finished.

Friday, January 18, 2008

hello on Linux or Windows?

The hello program below won't work on Windows, not as currently written, though it's fine on Linux as demonstrated in class. A Windows version will be provided over the weekend, and in class on Tuesday, we'll talk about both. And, I hope, practice both.

Thursday, January 17, 2008

206 assignment, week one

Assignment: Get nasm running wherever you plan to do your homework. At home, you can use Windows for development, then transfer everything to Linux. Or you can use SecureShell client and do all your work directly on Linux. (Here are downloads.) If you want to use an X client, possibly on Cygwin, with our Linux server, go for it.

Check out the following resources, at a minimum:

NASM home click
http://nasm.sourceforge.net/

samples at UMBC click
http://www.csee.umbc.edu/help/nasm/sample.shtml

samples at Loyola Marymount click
http://www.cs.lmu.edu/~ray/notes/nasmexamples/

Appendix B of the textbook (Dandamudi)

We will be doing most of Chapters 1 to 10 and selections from other chapters.

Here is the hello.asm discussed in class.

206 first day documents

Here find: