汇编语言实验-地址表和移位 以及关于db伪指令的一些内容
题目如下:BL中的只有一位为0,编写程序测试0所在的位数,并输出提示信息“The X Bit is 0”,要求使用地址表方法实现。网上很容易找到答案,但是用了很多跳转指令,太繁琐,嫌弃!直接上代码data segmentstr1 db 'the 1 bit is 0$',0ah,0dhstr2 db 'the 2 bit is 0$',0ah,0dhstr3 db 'the 3 bit is 0$',0ah,0dhstr4 db 'the 4 bit is 0$',0ah,0dhstr5 d
原创
2020-05-19 21:06:45 ·
1909 阅读 ·
0 评论