The machine I use is 64-bit
I wrote assembly code like this:
movl $0x12e48ead 0x0804b324
pushl $0x08049103
ret
Using AT&T format.
When I compile with it using command line:
gcc -m32 -c firecracker.S
It turns out errors as follows:
firecracker.S: Assembler messages:
firecracker.S:1: Error: junk `0x0804b324' after expression
firecracker.S:1: Error: suffix or operands invalid for `mov'
I wonder why this happens. Could anybody help me out? Thx.
You’re missing a comma:
Builds fine.