Question: lab 7 7 7 . S: Assembler messages: lab 7 7 7 . S: 1 5 : Error: operand type mismatch for ` add '

lab777.S: Assembler messages:
lab777.S:15: Error: operand type mismatch for `add'
addq $1442695040888963407,%rax # that is my line that gives an error
if i run the same line but reduce the number it compiles
addq $144269504,%rax # it works.
So i assume the original number is too big for the 64bit register so what do i do?
 lab777.S: Assembler messages: lab777.S:15: Error: operand type mismatch for `add' addq

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!