?login_element?

Subversion Repositories NedoOS

Rev

Rev 126 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.         STRUCT S_s0  /* bc */   ; no offset specified
  2. f1          DB  '-'
  3. f2          DW  0x2000
  4.         ENDS
  5. s0      S_s0
  6.  
  7.         STRUCT S_s1, 2      ; correct way of offset specification
  8. f1          DB  'x'
  9. f2          DW  0x4000
  10.         ENDS
  11. s1      S_s1
  12.  
  13.         STRUCT S_s2 2       ; syntax error (silently ignored in v1.13.0 = bug)
  14. f1          DB  'y'
  15. f2          DW  0x6000
  16.         ENDS
  17. s2      S_s2
  18.  
  19.         STRUCT S_s3, xx     ; offset by forward-reference of label = error (missing label)
  20. f1          DB  'z'
  21. f2          DW  0x8000
  22.         ENDS
  23. s3      S_s3
  24.  
  25.         STRUCT S_s4, yy     ; offset by forward-reference of label = error (existing)
  26. f1          DB  'z'
  27. f2          DW  0xA000
  28.         ENDS
  29. s4      S_s4
  30. yy:             ; this will move with every pass further down then = lot of errors
  31.