Download presentation
Presentation is loading. Please wait.
Published byPrimrose Cummings Modified over 9 years ago
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.