Pentium Assembly Code Question
- by leon
Hi
I am new to Pentium assembly programming.
Could you check if I am doing the translation of C to assembly correctly?
Condition: 32-bit addresses, 32 bit integers and 16 bit characters.
char[5] vowels="aeiou";
Translate: vowels db "aeoiu" ; or should it be "vowels dw "aeoiu" ?
How to access vowels[p]? Is it byte[vowels+p*2]? (since characters are 16 bit? )
Many thanks