Read a register (Solved)

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

User avatar
Jan Lichtenbelt
Posts: 794
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 261 times
Contact:

Read a register (Solved)

Postby Jan Lichtenbelt » Thu Oct 03, 2013 11:11 am

How can I place the content of a register into a variable. Say the Registername is REGABC and the variable TEMP.
I tried some liek:
FCV_TEMP= (regabc);

But REGABC was not recognised.

Kind regards

Jan Lichtenbelt

User avatar
Jan Lichtenbelt
Posts: 794
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 261 times
Contact:

Re: Read a register

Postby Jan Lichtenbelt » Thu Oct 03, 2013 12:04 pm

Sorry, this subject was answered elsewhere.

Jan