
Assembly Language
iAL
这个作者很懒,什么都没留下…
展开
-
assembling,compliling and linking
nasm -f coff first.asmgcc -c driver.cgcc -o first first.o driver.c asm_io.o原创 2004-11-09 01:02:00 · 727 阅读 · 0 评论 -
Comparisions
instruction: CMPcomparing by subtractionfor unsigned numbers: 2 bits in the FLAGS register ZF CF = 1 0 > 0 0 for signed numbers: 3 bits in the FLAGS regist原创 2004-11-09 01:06:00 · 864 阅读 · 0 评论 -
DJGPP安装配置完毕
环境变量设置:Right-click My Computer, select Properties. Select the Advanced tab, then the Environment Variables button. Edit the Path (or PATH, whichever exists) system variable to include C:/DJGPP/BIN a原创 2004-11-09 01:01:00 · 1146 阅读 · 0 评论 -
Rule of Sign Extension
Decreasing size of dataFor unsigned numbers: All the bits being removed must be 0 !For signed numbers: Bits being removed must be all 1s or 0s and the first bit not being removed must have the原创 2004-11-09 01:03:00 · 760 阅读 · 0 评论 -
Overflow flag & Carry flag
Two of the bits in the FLAGS register that add and sub instructions set are overflow and carry flag:Overflow flag: Set for signed arithmetic when the ture result is too big to fit into the destinat原创 2004-11-09 01:04:00 · 1857 阅读 · 0 评论 -
Extened Precision Arithmetic Instructions
ADCoperand1 = operand1 + carry flag + operand2 SBBoperand1 = operand1 - carry flag - operand2原创 2004-11-09 01:05:00 · 737 阅读 · 0 评论