aboutsummaryrefslogtreecommitdiff
path: root/sts/ia32/core.sts
blob: 4a5e692bec287d8affabdfdbf7a92b5a10881eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
defasm docol
    # 83 ?' # ed ?' # 4 ?'              ; sub ebp, 4
    # 89 ?' # 75 ?' # 0 ?'              ; mov [ebp], esi
    # 83 ?' # c0 ?' # 4 ?'              ; add eax, 4
    # 89 ?' # c6 ?'                     ; mov esi, eax
    # ad ?' # ff ?' # 20 ?'             ; go next
next

defasm exit
    # 8b ?' # 75 ?' # 0 ?'              ; mov esi, [ebp]
    # 83 ?' # c5 ?' # 4 ?'              ; add ebp, 4
next

defasm lit
    # ad ?'                             ; lodsd
    # 50 ?'                             ; push eax
next