?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     EXPORT                      ; syntax error
  2.     EXPORT  !                   ; syntax error 2
  3.     EXPORT  nonExistentLabel    ; label not found error
  4.     EXPORT  fwdRefNormal
  5.     EXPORT  .fwdRefLocal        ; this is error, the main label here is undefined ("_")
  6.     EXPORT  fwdRefNormal.fwdRefLocal
  7.     EXPORT  @fwdRefNormal.fwdRefLocal   ; "@" is not supported in EXPORT ???!?!
  8.     EXPORT  fwdRefEqu
  9.     EXPORT  fwdRefDefl
  10.     ORG     0x1234
  11. fwdRefNormal:   nop
  12. .fwdRefLocal:   ldir
  13. fwdRefEqu:      EQU     0x2345
  14. fwdRefDefl:     DEFL    0x3456
  15. LabelNormal:    nop
  16. .LabelLocal:    ldir
  17. LabelEqu:       EQU     0x2345+1
  18. LabelDefl:      DEFL    0x3456+1
  19.     .EXPORT LabelNormal
  20.     .EXPORT .LabelLocal         ; this is error, it will try to find LabelDefl.LabelLocal
  21.     .EXPORT LabelNormal.LabelLocal
  22.     .EXPORT @LabelNormal.LabelLocal
  23.     export  LabelEqu
  24.     .export LabelDefl
  25.     EXPORT  LabelNormal         ; double export is not problem of sjasmplus, but coder
  26.  
  27.     ; check if the exports are always global
  28.     EXPORT  aha.hehe.hihi
  29.     MODULE  aha
  30.     EXPORT  aha.hehe.hoho
  31. hehe
  32. .hihi
  33. .hoho
  34.     ENDMODULE