On-Line Exercise

Activity I: Using the Assembler emulator check your ability to write Assembly language programs for the following constructs:


    1.   while X < 10 repeat steps 2 and 3
    2.          X <- X + 1
    3.          Print X

[Answer]

    1. if  y3 < y4 then y3 <- y4 else y3 <- 0


[Answer]

You may then check out your programs (in machine language) using an EMULATOR. This is a non-graded exercise; there is no required hand-in.

Activity II: Once you have completed the above exercises then test your knowledge of the assembler with the Assembly Exercise.

[Prev] [Next]


CS1104 Main Page
Last Updated 10/17/2000
©J.A.N. Lee, 2000