Objective
Write flowcharts or pseudo codes for simple programming problems.
Implement SEQUENCE, IF-THEN-ELSE, WHILE-DO and REPEAT-UNTIL
program structures.
Describe the operation of selected data transfer, arithmetic, logical,
jump and loop instructions.
Use based and index addressing modes to access data in your
programs.
Describe systematic approach to debugging a simple assembly
language program using debugger, monitor or emulator tools.
Write a delay loop which produces desired amount of delay on a
specific 8086 system.
Outline
Simple sequence programs
IF-THEN-ELSE PROGRAMS
Structure:
IF Condition THEN
Action
ELSE
Action.
Action.
ELSE IF Condition THEN
Action.
ELSE
Action.
WHILE-DO PROGRAMS
This structure is useful in executing a number of
instructions repeatedly till some condition is satisfied.
WHILE-DO PROGRAMS
Structure:
WHILE some condition is present DO
Action.
Action.
REPEAT-UNTIL PROGRAMS
This structure can be used to loop through number of
instructions until some condition is met. If the condition
in the until is true then the loop will break and the
immediate instruction will be executed.
REPEAT-UNTIL PROGRAMS
Structure:
REPEAT
Action
UNTIL some condition is present.