?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     ORG $1000
  2.  
  3.     RELOCATE_START
  4.  
  5.     dw      relocate_count
  6.     dw      relocate_size
  7.  
  8. ; these ahead of RELOCATE_TABLE will refresh the table content to keep it consistent
  9. 1:
  10.     jp      1B
  11.     jp      1B
  12.     jp      1F
  13.     jp      1F
  14. 1:
  15.  
  16. ; emit intetionally table ahead of labels "3B"/"3F" to break table consistency
  17.     RELOCATE_TABLE
  18.  
  19. 3:                      ; warning about different address (between pass2 and pass3)
  20.     jp      3B          ; warning about inconsistent table (content differs)
  21.     jp      3B          ; second warning is not issued (one only)
  22.     jp      3F          ; forward label test (also two more opportunities to warn if not yet)
  23.     jp      3F
  24. 3:                      ; warning about different address (between pass2 and pass3)
  25.  
  26. ; emit final version of the table for comparison
  27.     RELOCATE_TABLE
  28.     RELOCATE_END
  29.