Click here to Skip to main content
15,880,608 members
Articles / Mobile Apps / Windows Mobile

ARM Assembly for eVC with the Mono Jit Macros

Rate me:
Please Sign up or sign in to vote.
4.18/5 (7 votes)
14 Jul 2007CPOL5 min read 61.7K   174   17  
ARM assembly for eVC with the Mono Jit macros
/*
 * Copyright (c) 2002 Sergey Chaban <serge@wildwestsoftware.com>
 */

#ifndef ARM_DIS
#define ARM_DIS

#include <stdlib.h>
#include <stdio.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _ARMDis {
	FILE* dis_out;
	void* pi;
} ARMDis;


void _armdis_set_output(FILE* f);
FILE* _armdis_get_output(void);
void _armdis_decode(void* p, int size);
void _armdis_open(const char* dump_name);
void _armdis_close(void);
void _armdis_dump(const char* dump_name, void* p, int size);


void armdis_init(ARMDis* dis);
void armdis_set_output(ARMDis* dis, FILE* f);
FILE* armdis_get_output(ARMDis* dis);
void armdis_decode(ARMDis* dis, void* p, int size);
void armdis_open(ARMDis* dis, const char* dump_name);
void armdis_close(ARMDis* dis);
void armdis_dump(ARMDis* dis, const char* dump_name, void* p, int size);

#ifdef __cplusplus
}
#endif

#endif /* ARM_DIS */

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Netherlands Netherlands
Sjoerd Bakker was a 6510 (C64) machine language editor for a Dutch computer magazine in the mid eighties of the previous century.

Comments and Discussions