OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [tests/] [or1200/] [sim/] [or1200-basic.S] - Diff between revs 393 and 425

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 393 Rev 425
Line 1095... Line 1095...
        l.add   r3,r8,r3        /* Should be 0xdeaddead */
        l.add   r3,r8,r3        /* Should be 0xdeaddead */
 
 
        l.movhi r4, 0x5ead
        l.movhi r4, 0x5ead
        l.ori r4, r4, 0xdea0
        l.ori r4, r4, 0xdea0
        l.sub r3, r3, r4 /* Should now be 0x8000000d */
        l.sub r3, r3, r4 /* Should now be 0x8000000d */
 
        l.nop   0x2
 
        l.ori   r3, r0, 0 /* Clear R3 */
        l.nop 0x1 /* Exit simulation */
        l.nop 0x1 /* Exit simulation */
 
 

powered by: WebSVN 2.1.0

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