|
|
1.1 ! root 1: # ! 2: # Small tail module to be connected after an individual test. ! 3: # Assumes the test either succeedes by 'jmp *return' or ! 4: # fails and the it 'jmp *badrtn'. ! 5: # The standard is to halt with r0=0xcafebabe on success, or ! 6: # ro = -1 on failure. ! 7: # The main intent is NOT TO MODIFY the test source itself and ! 8: # it is assumed those 2 labels are the only external references ! 9: # every test makes. ! 10: ! 11: .globl badrtn ! 12: .globl return ! 13: ! 14: badrtn: .long bad ! 15: return: .long good ! 16: ! 17: bad: ! 18: movl $-1,r0 ! 19: halt ! 20: good: ! 21: movl $0xcafebabe,r0 ! 22: halt
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.