Skip to main content
Visitor II
September 18, 2021
Question

inline assembler query _asm

  • September 18, 2021
  • 0 replies
  • 502 views

char shiftdata=8;

shiftdata=_asm("rlc a",shiftdata).

I am trying to rotate left through carry value 8, expecting output of 16.

When I debug the code, I am getting shiftdata value as zero, instead of 16.

Can you help me with this?

    This topic has been closed for replies.