摘要: 有两个数,用大数减去小数,直到结果为0为止;Code is as follow:AREA item1,CODE,READONLYENTRYCODE32STARTMOV R0,#80; Set R0=80MOV R1,#33; Set R1=33LOOPCMP R0,R1; Compare R0,R1SUBLT R1,R1,R0; If R1>R0,then R1=R1-R0SUBGT R0,R0,R1; If R0>R1,then R0=... 阅读全文
posted @ 2013-11-09 20:27 Jan5 阅读(198) 评论(0) 推荐(0) 编辑