cancel
Showing results for 
Search instead for 
Did you mean: 

inline assembly with cosmic and stvd7

jasonngan
Associate II
Posted on May 17, 2007 at 02:35

inline assembly with cosmic and stvd7

3 REPLIES 3
jasonngan
Associate II
Posted on May 16, 2007 at 08:06

I write assembly in C.

_asm(''bres PDDR,#6'');

But the cosmic show the error massage like this

symbol PDDR not defined

bad addressing mode

bad addressing mode

How do i solve it ,please?

Thank!

luca239955_st
Associate III
Posted on May 16, 2007 at 10:22

try to put an _ before PDDR.

[ This message was edited by: _luca on 16-05-2007 13:54 ]

jasonngan
Associate II
Posted on May 17, 2007 at 02:35

Thx! It work! :D