VLSI Solution Oy / MegaLib Documentation

vsasm.h File Reference

Go to the source code of this file.

Defines

#define MAKEMOD64(stp, bufsz)   (0x4000|(((bufsz)/64-1)&31)|(((stp)&255)<<6))
#define MAKEMOD(stp, bufsz)   (0x2000|(((stp)&127)<<6)|(((bufsz)-1)&63))
#define MAKEMODF(bufsz)   (0x8000|(((bufsz)-1)&8191))
#define MAKEMODB(bufsz)   (0xA000|(((bufsz)-1)&8191))


Detailed Description

Standard VSDSP assembler macros.

Definition in file vsasm.h.


Define Documentation

#define MAKEMOD stp,
bufsz   )     (0x2000|(((stp)&127)<<6)|(((bufsz)-1)&63))
 

Creates a modifier register with step = -64..63, bufsz = 1..64.

Definition at line 14 of file vsasm.h.

#define MAKEMOD64 stp,
bufsz   )     (0x4000|(((bufsz)/64-1)&31)|(((stp)&255)<<6))
 

Creates a modifier register with step = -128..127, bufsize N*64

Definition at line 12 of file vsasm.h.

#define MAKEMODB bufsz   )     (0xA000|(((bufsz)-1)&8191))
 

Creates a backwards modifier register, bufsz = 1..8192.

Definition at line 18 of file vsasm.h.

#define MAKEMODF bufsz   )     (0x8000|(((bufsz)-1)&8191))
 

Creates a forwards modifier register, bufsz = 1..8192.

Definition at line 16 of file vsasm.h.


All software copyright 2005-2006 VLSI Solution OY. Redistribution of this software is strictly forbidden.