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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [lib/] [9x8/] [math.s] - Diff between revs 7 and 10

Show entire file | Details | Blame | View Log

Rev 7 Rev 10
Line 1... Line 1...
; Copyright 2014, Sinclair R.F., Inc.
; Copyright 2014-2015, Sinclair R.F., Inc.
;
;
; Unsigned arithmetic operations.
; Unsigned arithmetic operations.
 
 
 
.IFNDEF D__INCLUDED__MATH_S__
 
.define D__INCLUDED__MATH_S__
 
 
; Notation:
; Notation:
;   ux_n is the n'th byte of ux where n=0 is the LSB
;   ux_n is the n'th byte of ux where n=0 is the LSB
;         example:  ( u0_0 u0_1 ) are the LSB and MSB of a 2-byte 16-bit value.
;         example:  ( u0_0 u0_1 ) are the LSB and MSB of a 2-byte 16-bit value.
;   u0 and u1 are two input vectors, us is their sum
;   u0 and u1 are two input vectors, us is their sum
 
 
Line 73... Line 76...
 
 
.function math__add_u32_u32_u32
.function math__add_u32_u32_u32
  >r .call(math__add_u32_u24_u32)
  >r .call(math__add_u32_u24_u32)
  r> .return(+)
  r> .return(+)
 
 
 No newline at end of file
 No newline at end of file
 
.ENDIF ; D__INCLUDED__MATH_S__
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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