Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I ' m writing code to add two 6 4 bit integers together using 3 2 bit registers in assembly. I ' m not sure
Im writing code to add two bit integers together using bit registers in assembly. Im not sure what is wrong with my code, but Im failing tests and having issues compiling. Here it is: global start
equ wordsize,
data
num: long
num: long
text
start:
movl numeax #eax first half num
movl numecx #ecx first half num
addl ecx, eax
movl eaxecx #ecx second half num
movl ebxedx #edx second half num
addl ecx, edx
jnc endcarry
carry:
addl $eax
endcarry:
nop
done:
nop
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started