wanttomasterpython
wanttomasterpython

Reputation: 149

what does movl $1, %ebx mean?

movl destinationaddress , source address is the usual convention . But movl $1, %ebx isnt meaningful because $1 is not an address location .

Intel Processor .

Upvotes: 0

Views: 3976

Answers (1)

user529758
user529758

Reputation:

It is indeed meaningful, you just don't know this syntax (it's called the AT&T style).

What it does is loading the value 1 into the EBX register.

Upvotes: 2

Related Questions