URL
https://opencores.org/ocsvn/forwardcom/forwardcom/trunk
Subversion Repositories forwardcom
Compare Revisions
- This comparison shows the changes necessary to convert path
/forwardcom
- from Rev 116 to Rev 117
- ↔ Reverse comparison
Rev 116 → Rev 117
/libraries/time.as
0,0 → 1,22
/********************************* time.as ********************************** |
* Author: Agner Fog |
* date created: 2018-03-21 |
* Last modified: 2018-03-21 |
* Version: 1.00 |
* Project: ForwardCom library libc.li |
* Description: time function. Get time in seconds |
* C declaration: time_t time(time_t *timer); |
* |
* Copyright 2018 GNU General Public License http://www.gnu.org/licenses |
*****************************************************************************/ |
|
code section execute align = 4 |
|
_time function public reguse = 1 |
|
sys_call(1, 0x020) // system call time |
return |
|
_time end |
|
code end |