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

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [tests/] [and.S] - Diff between revs 82 and 83

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

Rev 82 Rev 83
Line 58... Line 58...
        mov     r1, #0x0000005a
        mov     r1, #0x0000005a
 
 
        // should not unset the V flag value
        // should not unset the V flag value
        ands    r2, r1, #0x00000055
        ands    r2, r1, #0x00000055
 
 
        // Check the V flag is still set, the Z flag is clear the C flag
        // Check the V flag is still set, the Z flag is clear, the C flag
        // gets the carry out value from the barrel shifter, which is
        // gets cleared, and the N flag gets cleared
        // the C flag in this case, and the N flag gets cleared
 
        bvc     testfail
        bvc     testfail
        beq     testfail
        beq     testfail
        bcc     testfail
        bcs     testfail
        bmi     testfail
        bmi     testfail
 
 
        tst     r2, #0x00000050
        tst     r2, #0x00000050
        beq     testfail
        beq     testfail
 
 

powered by: WebSVN 2.1.0

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