Advertisement
maximinus

Untitled

Apr 7th, 2012
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. ;Some examples of compiler code that should compile fine.
  2. ;I had added my reasoning for each one
  3.  
  4. :start set a, 5 ;uses tabs
  5. set b, 5 ;uses spaces
  6.  
  7. set a, 5 ;case is not important
  8. SET A, 5
  9.  
  10. set a, start ;labels should be fine
  11. set a, end ;as should forward labels
  12.  
  13. :data dat "test" ;should be able to handle data constructs
  14. dat "test", 0 ;and mixed data
  15. dat 3, 5, 6 ;of both types
  16.  
  17. set a, 5 ;number of spaces should be no issue
  18. :end set a,5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement