Is it possible to do the following in say, MIPS or X86 Assembly:
Say I'm coding in a high-level language like java or c, and i've declared a temporary integer variable i. I want to set
i to be equal to the value contained in some machine register, say $r1, whatever the value is. (I don't know what it is.) Is it possible to write a function that copies the contents of $r1 into i?
Randy
Say I'm coding in a high-level language like java or c, and i've declared a temporary integer variable i. I want to set
i to be equal to the value contained in some machine register, say $r1, whatever the value is. (I don't know what it is.) Is it possible to write a function that copies the contents of $r1 into i?
Randy