Lab1
Print out Your Student ID
Lab2
Using codeview to observe registers.
using command "shift"
ah=02h, displaying ASCII word
Lab3
Some modify to Lab2 code.
Concept of Vector
"dup" duplicate
Self-Practice:
"jmp" jump
"cmp" compare, with "je" "jle" "jge"
Lab4
Introduce command
Multiply "mul" "imul"
Divide "div" "idiv"
Lab5
Bubble Sort
jmp
loop
Lab6
Introduce "function"
More of Stack
Lab8
Explaining more etails of int 16h
new command "LAHF", move the lower byte of flag register to AH
Lab9
Introduce Interrupt 10h
Set cursor and character color
Lab10
More for 10h Graphic Mode
Draw a triangle at the center of screen first then,
num 8 move the triangle up
num 2 move the triangle down
num 4 move the triangle left
num 6 move the triangle right
num 5 to change triangle color
screen size 640*480
16 colors
Lab11
Introduce to int 33h More for 10h Graphic Mode
Draw a triangle at the point (100,100)
triangle will move with the mouse
esc to exit
key 'c' to change color
screen size 640*480
16 colors