文件名称:fenzhi
介绍说明--下载内容均来自于网络,请自行研究使用
已知两个整数变量A和B,试编写完成下述操作的程序:
(1)、若两个数中有一个是奇数,则将奇数存入A中,偶数存入B中。
(2)、若两个数均为奇数,则两数分别加1,并存回原变量。
(3)、若两个数均为偶数,则两变量不变。
-The known two integer the variables A and B, try to write complete the following operating procedures:
(1), if two number one is odd number, it will be an odd number in A of the deposit, even in B.
(2), if the two Numbers are an odd number, the number two respectively add 1, back to the original variables coexist.
(3), if the two Numbers are even, the two variables unchanged.
(1)、若两个数中有一个是奇数,则将奇数存入A中,偶数存入B中。
(2)、若两个数均为奇数,则两数分别加1,并存回原变量。
(3)、若两个数均为偶数,则两变量不变。
-The known two integer the variables A and B, try to write complete the following operating procedures:
(1), if two number one is odd number, it will be an odd number in A of the deposit, even in B.
(2), if the two Numbers are an odd number, the number two respectively add 1, back to the original variables coexist.
(3), if the two Numbers are even, the two variables unchanged.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fenzhi.asm