Assembly Code x86
So i am having trouble adding/subtracting/multiplying/dividingwith a quad
I have trouble seeing how I can store INTs into the quad in thedata section and then getting the store data back in order todivide it and multiple it
Then I have no idea how to print the result: Do I print it as anint or as a string
CODE
.data
Amount:
.quad 0
.text
.global _start
_start:
add $12, %rax
#add the value to Amount to store
#I will keep adding more to Amount
#Get amount and divide it by $50
#Then MUL/IMUL 100 to the divided result
#Print answer
Expert Answer
An answer will be send to you shortly. . . .
PayPal Gateway not configured
PayPal Gateway not configured