Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter Six. Exercises Clear the screen Write a procedure to show a symbol at (dl, dh). AL stores the symbol. Write a procedure to control a character.

Similar presentations


Presentation on theme: "Chapter Six. Exercises Clear the screen Write a procedure to show a symbol at (dl, dh). AL stores the symbol. Write a procedure to control a character."— Presentation transcript:

1 Chapter Six

2 Exercises Clear the screen Write a procedure to show a symbol at (dl, dh). AL stores the symbol. Write a procedure to control a character to move based on the control code stored in AL. – If AL = 0, move to left – If AL = 1, move to right Write a procedure to clear the character at its current position before moving to the new position.

3 Write a procedure to control the character to move based on a sequence of control code. When the robot moves: – move to the left, use symbol ‘C’ with blue color. – move to the right, use symbol ‘D’ with blue color. Press: key “a” to move the robot to left key “b” to move the robot to right


Download ppt "Chapter Six. Exercises Clear the screen Write a procedure to show a symbol at (dl, dh). AL stores the symbol. Write a procedure to control a character."

Similar presentations


Ads by Google