User Activity

  • Posted a comment on discussion Open Discussion on Small Device C Compiler (SDCC)

    Yes, i append the --stack-auto option to linker. then everything is normal now. think you

  • Posted a comment on discussion Open Discussion on Small Device C Compiler (SDCC)

    Some times i want to know where is my variable . but some keywords in the .map i can not understand

  • Posted a comment on discussion Open Discussion on Small Device C Compiler (SDCC)

    RE: and also when linking them, Does this mean that linker also requires this option;

  • Posted a comment on discussion Open Discussion on Small Device C Compiler (SDCC)

    Hi all, If I use --stack-auto and --model-large, do I need to recompile sdcc using these two options;

  • Posted a comment on discussion Open Discussion on Small Device C Compiler (SDCC)

    Hi Philipp, The output is sdcc -v SDCC : mcs51/z80/z180/r2k/r2ka/r3ka/sm83/tlcs90/ez80_z80/z80n/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15/mos6502 4.2.0 #13081 (Mac OS X x86_64) published under GNU General Public License (GPL) RE: Can you make this into a self-contained code sample to reproduce the issue Yes, I have try set some code like LCD_ShowChar() in the code, just like : u8 sizex = sizey / 2; LCD_ShowChar(50,50, sizex+48, red, black, 32); where sizey = 32; and it should...

  • Posted a comment on discussion Open Discussion on Small Device C Compiler (SDCC)

    Hi Philipp, The output is sdcc -v SDCC : mcs51/z80/z180/r2k/r2ka/r3ka/sm83/tlcs90/ez80_z80/z80n/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk13/pdk14/pdk15/mos6502 4.2.0 #13081 (Mac OS X x86_64) published under GNU General Public License (GPL) RE: Can you make this into a self-contained code sample to reproduce the issue Yes, I have try set some code like LCD_ShowChar() in the code, just like : u8 sizex = sizey / 2; LCD_ShowChar(50,50, sizex+48, red, black, 32); where sizey = 32; and it should...

  • Posted a comment on discussion Open Discussion on Small Device C Compiler (SDCC)

    void LCD_ShowIntNum(u16 x, u16 y, u32 num, u8 len, u16 fc, u16 bc, u8 sizey) { u8 t, temp; u8 enshow = 0; u8 sizex = sizey / 2; u16 xstart; for (t = 0; t < len; t++) { xstart = x + t * sizex; u32 div = mypow(10, len - t - 1); temp = (u8)(num/div) % 10; if (enshow == 0 && t < (len - 1)) { if (temp == 0){ LCD_ShowChar(xstart, y, ' ', fc, bc, sizey); continue; } else { enshow = 1; } } LCD_ShowChar(xstart, y, temp + 48, fc, bc, sizey); } } void main (void) { EAXSFR(); //使能访问XFR EAXRAM(); //使能访问XRAM //...

View All

Personal Data

Username:
hammer
Joined:
2024-09-20 03:13:21.742000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB