pinosaur
/
sped.git
/ blob
5c09a235bac204e38f119701911af52533ad26f1
[sped.git]
/
utils.S
1
2
%ifndef __UTILS_S__
3
%define __UTILS_S__
4
5
; gets the nth string ptr in a str array
6
; of the form: str_offset buffer, n
7
; result is in eax
8
%macro str_offset 2
9
mov eax, %2
10
mov ecx, 4
11
mul ecx
12
add eax, DWORD %1
13
%endmacro
14
15
extern shiftLeft
16
extern shiftRight
17
18
%endif