p2  0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
asm.c File Reference

some assembler functions More...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "p2.h"
#include "internal.h"
#include "opcodes.h"
#include "asm.h"
+ Include dependency graph for asm.c:

Go to the source code of this file.


PNAsmpotion_asm_new (Potion *P)
PNAsmpotion_asm_clear (Potion *P, PNAsm *volatile asmb)
PNAsmpotion_asm_put (Potion *P, PNAsm *volatile asmb, PN val, size_t len)
PNAsmpotion_asm_op (Potion *P, PNAsm *volatile asmb, u8 ins, int _a, int _b)
PNAsmpotion_asm_write (Potion *P, PNAsm *volatile asmb, char *str, size_t len)

Detailed Description

some assembler functions

(c) 2008 why the lucky stiff, the freelance professor

Definition in file asm.c.

Function Documentation

PNAsm* potion_asm_new ( Potion P)

Definition at line 13 of file asm.c.

PNAsm* potion_asm_clear ( Potion P,
PNAsm *volatile  asmb 

Definition at line 19 of file asm.c.

PNAsm* potion_asm_put ( Potion P,
PNAsm *volatile  asmb,
PN  val,
size_t  len 

Definition at line 25 of file asm.c.

PNAsm* potion_asm_op ( Potion P,
PNAsm *volatile  asmb,
u8  ins,
int  _a,
int  _b 

Definition at line 43 of file asm.c.

PNAsm* potion_asm_write ( Potion P,
PNAsm *volatile  asmb,
char *  str,
size_t  len 

Definition at line 56 of file asm.c.