User Tools

Site Tools


sd:programming_in_c_for_the_sd-8516

This is an old revision of the document!


Programming in C for the SD-8516

Self-hosted TinyC v1

Yes, you can write C code for the SD-8516. However there are certain… limitations of the self-hosted project. First however, let's stay positive and talk about what you can do:

V1 Current Feature Set:

  • Builtins (putchar, getchar, halt, yield)
  • int and char* (8-bit access)
  • Expressions with precedence
  • Local variables
  • if/else/else if
  • Comparison operators
  • while
  • break/continue
  • Multiple functions + function calls
  • Function arguments
  • Pointers (read, write, address-of)
  • Array indexing
  • String literals
  • Hex literals
  • Character literals
  • Comments ()
  • Global variables

sd/programming_in_c_for_the_sd-8516.1781689243.txt.gz · Last modified: by appledog

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki