c++ - Regarding inline assmebler
I read the docs with dmc and noticed that the EBX register is reserved (at least that's how it read by my eyes). But then later you mention that EBX is supported? Do you mean supported by other opcodes handling that register only...or that it can manually be manipulated by me? Just a confusion that I hoped to clear up =) -- Gregory Peet "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -Brian Kernighan
Aug 27 2003
"Greg Peet" <admin REMOVEMEgregpeet.com> wrote in message news:bihvfn$28vj$1 digitaldaemon.com...I read the docs with dmc and noticed that the EBX register is reserved (at least that's how it read by my eyes). But then later you mention that EBXissupported? Do you mean supported by other opcodes handling that register only...or that it can manually be manipulated by me? Just a confusion thatIhoped to clear up =)I'm not sure what you mean. You can use EBX like any other register, but the calling convention requires that it be saved/restored.
Aug 27 2003
Sorry if I was cryptic, you got my question head on =) "Walter" <walter digitalmars.com> wrote in message news:bij5m0$13kj$1 digitaldaemon.com... | | | "Greg Peet" <admin REMOVEMEgregpeet.com> wrote in message | news:bihvfn$28vj$1 digitaldaemon.com... | > I read the docs with dmc and noticed that the EBX register is reserved (at | > least that's how it read by my eyes). But then later you mention that EBX | is | > supported? Do you mean supported by other opcodes handling that register | > only...or that it can manually be manipulated by me? Just a confusion that | I | > hoped to clear up =) | | I'm not sure what you mean. You can use EBX like any other register, but the | calling convention requires that it be saved/restored. | |
Aug 27 2003