Radix on imul 86
Résolu/Fermé
A voir également:
- Radix on imul 86
- Indicatif 86 - Guide
- +33 1 86 26 92 60 - Forum Virus
- Le bon coin 86 - Télécharger - Commerce
- +33 9 48 15 95 86 ✓ - Forum Mobile
- Programme 86 ✓ - Forum Windows
1 réponse
Sugel
Messages postés
4076
Date d'inscription
jeudi 18 août 2011
Statut
Membre
Dernière intervention
19 juin 2017
725
Modifié par Sugel le 16/05/2015 à 22:49
Modifié par Sugel le 16/05/2015 à 22:49
Hey !
You're on a french speaking forum, you should ask your question again elsewhere. I'll try to answer btw.
Let's read some documentation:
http://vitaly_filatov.tripod.com/ng/asm/asm_007.106.html
as that document reads, it changes the radix of your inputs left without suffix specifying it.
You should write something like
or
or even
I'm not that good at asm, but it looks like your code isn't correct as you don't provide any arg to .radix
It might be an undefined behavior.
To sum up, with
Remember to post on a forum where people speak english ;-)
------------------------------------------------------------------------------------
"La peur mène à la colère. La colère mène à la haine. Et la haine ... mène à la souffrance." - Yoda
You're on a french speaking forum, you should ask your question again elsewhere. I'll try to answer btw.
Let's read some documentation:
http://vitaly_filatov.tripod.com/ng/asm/asm_007.106.html
as that document reads, it changes the radix of your inputs left without suffix specifying it.
You should write something like
.radix 16for hex
or
.radix 10for decimal
or even
.radix 2for binary
I'm not that good at asm, but it looks like your code isn't correct as you don't provide any arg to .radix
It might be an undefined behavior.
To sum up, with
.radix 16, 10 will be understood as 16 in decimal, but as 10 in decimal with
.radix 10, so that the content of the compiled data segment will be different (provided there are suffix-less numbers).
Remember to post on a forum where people speak english ;-)
------------------------------------------------------------------------------------
"La peur mène à la colère. La colère mène à la haine. Et la haine ... mène à la souffrance." - Yoda
16 mai 2015 à 23:20