OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cr16/] [cmpb_i.cgs] - Blame information for rev 227

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# cr16 testcase for cmpb $imm4, reg
2
# mach(): cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cmpb_i
9
cmpb_i:
10
        mvi_h_condbit 0
11
        movw $0x2311, r4
12
        cmpb $0x4211, r4
13
        beq ok
14
not_ok:
15
        fail
16
ok:
17
        mvi_h_condbit 1
18
        cmpb $0x4222,r4
19
        beq not_ok
20
 
21
        pass

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.