文件名称:oddaeven
介绍说明--下载内容均来自于网络,请自行研究使用
已知两个整数变量 A 和B,范围为0-100
(1)、若两个数中有一个是奇数,则将奇数存入A 中,偶数存入B 中。
(2)、若两个数均为奇数,则两数分别加1,并存回原变量。
(3)、若两个数均为偶数,则两个变量不变。-Two integer variables A and B, which range of 0-100 (1) if there is an odd number, store the odd number in A, and even in B. (2) If the two numbers are odd, the two numbers should stored back to the original variables, after add 1. (3) If the two numbers are even, then the two variables do not change.
(1)、若两个数中有一个是奇数,则将奇数存入A 中,偶数存入B 中。
(2)、若两个数均为奇数,则两数分别加1,并存回原变量。
(3)、若两个数均为偶数,则两个变量不变。-Two integer variables A and B, which range of 0-100 (1) if there is an odd number, store the odd number in A, and even in B. (2) If the two numbers are odd, the two numbers should stored back to the original variables, after add 1. (3) If the two numbers are even, then the two variables do not change.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
odd&even.asm