?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. ;; options used to assemble this test:
  2. ;; sjasmplus --fullpath --nologo --lst="struct_in_files.lst" --lstlab --msg=war "struct_in_files.asm" --zxnext=cspect
  3.         INCLUDE "struct_in_files.def.s1.i.asm"
  4.         INCLUDE "struct_in_files.def.s2.i.asm"
  5.         INCLUDE "struct_in_files.def.s12.i.asm"
  6.  
  7.         DEVICE ZXSPECTRUMNEXT
  8.         ORG $4000
  9.  
  10.         INCLUDE "struct_in_files.use.s1.i.asm"
  11.         INCLUDE "struct_in_files.use.s2.i.asm"
  12.         INCLUDE "struct_in_files.use.s12.i.asm"
  13.  
  14.     MODULE  modMain
  15.         STRUCT @struct_1_2_12
  16. s1          struct_1    { 0, 0 }
  17. s2:         @mod2.struct_2   { $A4, $A5, $A6 }
  18. s12:        struct_12
  19.         ENDS
  20.     ENDMODULE
  21.  
  22.     MODULE modNonMain
  23. xyz:    struct_1_2_12
  24. abc:    struct_1_2_12 = $9000
  25. def:    @struct_1_2_12
  26. ghi:    @struct_1_2_12 = $9100
  27. jkl:    @struct_1_2_12 { 1, 2 { 3, 4 } }
  28.     ENDMODULE
  29.