#2272 MCS51 MOV @Ri,A instruction not supported.

closed-rejected
MOV (1)
MCS51
5
2014-04-27
2014-04-27
Jed Marti
No

The MCS51 assembler doesn't appear to support MOV @Ri,A instruction:

include <C8051F310.h>

void test(void) naked
{
asm
mov @r2,a
__endasm;
}

and you get:

sdcc -c test.c
test.asm:594: Error: machine specific addressing or addressing mode error ...

SDCC : mcs51/gbz80/z80/z180/r2k/r3ka/ds390/pic16/pic14/TININative/ds400/hc08/s08
3.3.0 #8604 (May 11 2013) (MINGW32)

Related

Bugs: #2272

Discussion

  • Erik Petrich

    Erik Petrich - 2014-04-27
    • status: open --> closed-rejected
    • assigned_to: Erik Petrich
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks