summaryrefslogtreecommitdiff
path: root/etc/oemu/test-00.s
blob: c0dbeee0e610a6b528aabcc04400c9905e36824d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
mov x0, #1       ! ~ 0x00000000
mov x1, #2       ! ~ 0x00000004
mov x2, #3       ! ~ 0x00000008
                 ! X
some_label:      ! X
    mov x2, #20  ! ~ 0x0000000C
    br x2        ! ~ 0x00000010  -----+
    !!!!!!!!!!!!!! X                  |
    !!!!!!!!!!!!!! X                  |
                 ! X                  |
    dec x0       ! ~ 0x00000014  <----+
    inc x1       ! ~ 0x00000018
    add x2, #3   ! ~ 0x0000001C
    mrow x4, #0  ! ~ 0x00000020
<<<<<<< HEAD
    nop          ! ~ 0x00000024
    or x1, #3    ! ~ 0x00000028
    xor x2, #3   ! ~ 0x0000002C
    hlt          ! ~ 0x00000030
=======
    and x1, #3   ! ~ 0x00000024
    or x2, #7    ! ~ 0x00000028
    hlt          ! ~ 0x0000002C
>>>>>>> 521cc2b (etc: oemu: Add example for 'OR' in test-00.s)