145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org ;; program to test inter-segment production and linkage of RDF objects 245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org ;; [1] should produce segment base ref 445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org ;; [2] should produce standard relocation 545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org[GLOBAL _main] 745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org[EXTERN _puts: far] 845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org[BITS 16] 945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 1045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org_main: 1145afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org mov ax, seg _message ; 0000 [1] 1245afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org mov ds, ax ; 0003 1345afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org mov dx, _message ; 0005 [2] 1445afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org call far _puts ; 0008 [2][1] 1545afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org xor ax,ax ; 000D 1645afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org int 21h ; 000F 1745afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org 1845afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org[SECTION .data] 1945afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org_message: db 'Hello, World', 10, 13, 0 2045afe016bed87b9c6946184709058b39ede3f77ajwong@chromium.org