Assembly Sample Programs
By WANG Lin
Programs |
Description |
|
|
|
|
Convert a decimal number(0~63) to Octal representation |
|
Output a reversed word of an input string |
|
To test the Ascii value of any character. |
|
Some useful I/O subroutines. |
|
Some useful I/O subroutines which simulates the same situation as on M68k. For an example, when user calls "jsr strout", the user need to store the starting address and length at A0 and D0 instead of A1 and d1. |
|
Read an array of integers then output the min., the max., and the average of these numbers. |
|
Read an array of numbers from keyboard, then print them on screen. |
|
|
|
A Hanoi game simulation |
|
|
|
... ... ... |
|
|
|
|
|
Answer: Question1, Question 2, Question 3, Question 4 |
|
|
|
|