kolibrios-fun/programs/develop/c--/trunk/examples/docase.c-
Yogev Ezra 02b76505a6 Add sources of "C--"'like compiler written in C--.
git-svn-id: svn://kolibrios.org@1846 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-05 16:39:49 +00:00

17 lines
209 B
Plaintext

#map
#debug
#list
main() // execution always starts at main ()
{
docase{
EBX+=80;
case(ECX==10)
//#list
EBX=10;
case(EBX<5){
ECX=5; continue;}
default
EDX+=8;
}
EAX=9;
}