Revision 5fafdf24 tests/test-i386-code16.S

b/tests/test-i386-code16.S
7 7
code16_start:
8 8

  
9 9
        .globl code16_func1
10
        
10
       
11 11
        /* basic test */
12 12
code16_func1 = . - code16_start
13 13
        mov $1, %eax
......
24 24
        pop %ax
25 25
        data32 lret
26 26

  
27
/* test various jmp opcodes */        
27
/* test various jmp opcodes */       
28 28
        .globl code16_func3
29 29
code16_func3 = . - code16_start
30 30
        jmp 1f
......
36 36
        jz 2f
37 37
        add $2, %ax
38 38
2:
39
        
39
       
40 40
        call myfunc
41
        
41
       
42 42
        lcall $CS_SEG, $(myfunc2 - code16_start)
43 43

  
44 44
        ljmp $CS_SEG, $(myjmp1 - code16_start)
......
50 50
myjmp2_next:
51 51

  
52 52
        data32 lret
53
        
53
       
54 54
myfunc2_addr:
55 55
        .short myfunc2 - code16_start
56 56
        .short CS_SEG

Also available in: Unified diff