URL
https://opencores.org/ocsvn/potato/potato/trunk
Subversion Repositories potato
[/] [potato/] [trunk/] [tests/] [sw-jal.S] - Rev 56
Go to most recent revision | Compare with Previous | Blame | View Log
# The Potato Processor - A simple RISC-V based processor for FPGAs# (c) Kristian Klomsten Skordal 2014 - 2015 <kristian.skordal@wafflemail.net># Report bugs and issues on <http://opencores.org/project,potato,bugtracker>#include "riscv_test.h"#include "test_macros.h".section .textRVTEST_RV32URVTEST_CODE_BEGINtest_1:li TESTNUM, 1la ra, test_failedla sp, tempsw ra, 0(sp)jal ra, test_cmp1:j failj passtest_cmp:la t0, 1bbne ra, t0, failaddi ra, ra, 4retTEST_PASSFAILRVTEST_CODE_ENDtest_failed:RVTEST_FAIL# Allocate a 32-bit word to store some data into.section .datatemp:.word 0x00000000
Go to most recent revision | Compare with Previous | Blame | View Log
