convenience_de.awl 678 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ORGANIZATION_BLOCK OB 1
  2. BEGIN
  3. // Test parsing of convenience operators.
  4. // Convenience operators are certain operators with missing white space.
  5. AUF DB1
  6. AUF DI1
  7. SET
  8. = E0.1
  9. = A0.1
  10. = M0.1
  11. = L0.1
  12. = DBX0.0
  13. = DIX0.0
  14. L 100
  15. T EB0
  16. T EW0
  17. T ED0
  18. T AB0
  19. T AW0
  20. T AD0
  21. T LB0
  22. T LW0
  23. T LD0
  24. T MB0
  25. T MW0
  26. T MD0
  27. T DBB0
  28. T DBW0
  29. T DBD0
  30. T DIB0
  31. T DIW0
  32. T DID0
  33. U T0
  34. = M0.0
  35. U Z0
  36. = M0.0
  37. L P#E0.1
  38. L P#A0.1
  39. L P#M0.1
  40. L P#L0.1
  41. L P#P0.1
  42. L P#DBX0.0
  43. L P#DIX0.0
  44. CALL SFC 46 // STOP CPU
  45. END_ORGANIZATION_BLOCK
  46. DATA_BLOCK DB 1
  47. STRUCT
  48. VARIABLE : DWORD;
  49. END_STRUCT;
  50. BEGIN
  51. VARIABLE := DW#16#1;
  52. END_DATA_BLOCK