说明:人机对话
学习和熟悉DOS功能调用。
1. 程序执行后,首先询问:
What’s your name?
2. 要求用户键入回答,例如输入:lily。
3. 再次询问:
Which class are you in?
4. 要求用户再次键入回答,例如输入:CK09-12。
5. 回车换行。
6. 显示:Your name is lily,and your class is CK09-12. con <邱庭良> 在 2025-02-08 上传
| 大小:1kb | 下载:0
说明:统计一串字符中正负数的个数,并且将结果显示在屏幕上-Statistics the number of a string of characters, Zhongzheng negative, and the results displayed on the screen <> 在 2025-02-08 上传
| 大小:1kb | 下载:0
说明:人机对话
1. 程序执行后,首先询问:
What’s your name?
2. 要求用户键入回答,例如输入:lily。
3. 再次询问:
Which class are you in?
4. 要求用户再次键入回答,例如输入:CK09-12。
5. 回车换行。
6. 显示:Your name is lily,and your class is CK09-12. confirm(y/n)。
7 <fcc> 在 2025-02-08 上传
| 大小:1kb | 下载:0
说明:Comments :
(1) Full Duplex
(2) Tested from 1200 to 9600 Baud( @ 8 Mhz )
(3) Tested from 1200 to 19200 Baud(@ 16 & 20 Mhz)
The User gets a total time as specified by the User Cycles
in the table ( or fr <crispyhan> 在 2025-02-08 上传
| 大小:4kb | 下载:0
说明:This routine performs a 2 Digit Unsigned BCD Addition
It is assumed that the two BCD numbers to be added are in
locations Num_1 & Num_2. The result is the sum of Num_1+Num_2
and is stored in location Num_2 and t <crispyhan> 在 2025-02-08 上传
| 大小:1kb | 下载:0
说明: This routine performs a 2 Digit Unsigned BCD Addition
It is assumed that the two BCD numbers to be added are in
locations Num_1 & Num_2. The result is the sum of Num_1+Num_2
and is stored in location Num_2 and <crispyhan> 在 2025-02-08 上传
| 大小:2kb | 下载:0
说明:*** *** *** * Unsigned BCD Subtraction *** *** ***
This routine performs a 2 Digit Unsigned BCD Subtraction.
It is assumed that the two BCD numbers to be subtracted are in
locations Num_1 & Num_2. The result is <crispyhan> 在 2025-02-08 上传
| 大小:1kb | 下载:0