kleines Problem bei Intel -> AT&T
-
Ich muss ein großes Stückchen Intel-ASM nach AT&T konvertieren. Hab auch eigendlich keine Probs damit - bis ich auf das stieß:
mov al, [ds:046Ch]
- und -
cmp [ds:046Ch], al
Wie kovertiere ich das?
-
movb 0x46c,%al
würd ich mal sagen. bzw umgekehrt für deine zweite zeile.
-
€U schrieb:
mov al, [ds:046Ch]
mov %ds:0x64c, %al
€U schrieb:
cmp [ds:046Ch], al
cmp %al, %ds:0x64c