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

Subversion Repositories potato

[/] [potato/] [trunk/] [tests/] [sw-jal.S] - Diff between revs 45 and 58

Show entire file | Details | Blame | View Log

Rev 45 Rev 58
Line 4... Line 4...
 
 
#include "riscv_test.h"
#include "riscv_test.h"
#include "test_macros.h"
#include "test_macros.h"
 
 
.section .text
.section .text
RVTEST_RV32U
RVTEST_RV32M
RVTEST_CODE_BEGIN
RVTEST_CODE_BEGIN
 
 
test_1:
test_1:
        li TESTNUM, 1
        li TESTNUM, 1
 
 
Line 31... Line 31...
RVTEST_CODE_END
RVTEST_CODE_END
 
 
test_failed:
test_failed:
        RVTEST_FAIL
        RVTEST_FAIL
 
 
# Allocate a 32-bit word to store some data into
 
.section .data
.section .data
 
RVTEST_DATA_BEGIN
 
        TEST_DATA
 
 
 
# Allocate a 32-bit word to store some data into
 
#.section .data
temp:
temp:
        .word 0x00000000
        .word 0x00000000
 
 
 
RVTEST_DATA_END
 
 

powered by: WebSVN 2.1.0

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