Small-C icon indicating copy to clipboard operation
Small-C copied to clipboard

Small-C Compiler, Assembler, Linker, and Library for 16-bit MS-DOS. Includes "YLink", an object file linker for MS-DOS executables.

Results 7 Small-C issues
Sort by recently updated
recently updated
newest added

v118 - Correct pointer arithmetic errors, dodo() 'continue' error, and peep() COMMUTES error. Macro HSTBPW also gives some cross-compile support. v119 - Remove cross-compile keyword conflicts for const, inline, public,...

In CC4.C function peep(), the test for commutes is wrong. Results in no commutes optimizations being applied, or possibly mis-applied. Should be ‘*(cp=code[*next])’, like in isfree(). Also, in CC1.C, some...

Add support for structs to the Small-C compiler See here for syntax: https://en.wikipedia.org/wiki/Struct_(C_programming_language) - [x] Determine struct syntax: definition, declaration, assignment, copying, member access. - [x] Reserve 'struct' keyword -...

enhancement

auto, else, long, switch, break, enum, register, typedef, case, extern, return, union, char, float, short, unsigned, const, for, signed, void, continue, goto, sizeof, volatile, default, if, static, while, do, int,...

# Static local variables Variables declared as static inside a function are statically allocated, thus keep their memory cell throughout all program execution, while having the same scope of visibility...

enhancement

> “Instead of always waiting for the first executable instruction in a block before allocating space for locals, when an initializer is found, allocate pending locals, then evaluate the initializing...

enhancement