Ascii immediate in gas?

30 views Asked by At

Is there a way to enter in a character as an immediate in gas? For example:

mov $1,     %rax # decimal
mov $0xA,   %rbx # hex
mov $0b100, %rcx # binary

mov 'A', %rdx # something like this?

I know I can define this in the .ascii or .string directive but can this be done inline as an immediate?

0

There are 0 answers