?login_element?

Subversion Repositories NedoOS

Rev

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

  1.         STRUCT  S_TEST
  2. byte    BYTE 'B'
  3. word    WORD '2W'
  4. dword   DWORD '432D'
  5.         ENDS
  6.  
  7.         ORG 0x6780 : OUTPUT designed_address.bin
  8.  
  9. default     S_TEST      ; default initial values
  10.         DB 0
  11. designed    S_TEST = 0x1234     ; should not emit any bytes, but assign labels from 0x1234
  12. initialized S_TEST 'A','/B','/__C'
  13.         DB 0
  14.  
  15.         S_TEST = $      ; shoud not emit bytes, but also no label = warning
  16.  
  17. syntaxE S_TEST = ++     ; test syntax error
  18.