From: <li...@ya...> - 2003-01-13 06:08:33
|
THe following is my code :- # include<8051.h> void main(void) { _asm; mov a,#"A" mov sbuf,a _endasm; } The output was '' . But i need to get A at output. Then i tried for a different character. i changed the line mov a,#"A" in the above code to mov a,#"P" . I the got the same output as '', but i should get the P as output. How to get the desired character at output ? karthik bala guru tka...@ya... --- Dave McGuire <mc...@ne...> wrote: > On Monday, January 13, 2003, at 12:05 AM, mount me > wrote: > > I did mov a,#"P" followed by mov sbuf,a . I got '' > as > > the output via SBUF instead of the P . > > > > I tried out mov a,#"A" followed by mov sbuf,a . > I > > still got the '' as the output . > > > > How to get P or A as output using a and sbuf ? > > still i need to apply some other transformations > > or manipulations ?? > > Could you send me the whole piece of code? > > -Dave > > -- > Dave McGuire "She's a cheek pincher. I > have scars." > St. Petersburg, FL -Gary > Nichols > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = > Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com |