*** empty log message ***
This commit is contained in:
parent
4b540c6d7e
commit
900e979035
2 changed files with 16 additions and 1 deletions
|
@ -3,9 +3,18 @@
|
||||||
#include "em_decl.h"
|
#include "em_decl.h"
|
||||||
#include "as.h"
|
#include "as.h"
|
||||||
|
|
||||||
|
/* This file contains the assemble routine that generates assembly code.
|
||||||
|
* As 'str' is in assembly format this is a easy job. Only operands
|
||||||
|
* with "$n" in it need some special treatment.
|
||||||
|
* Note : a '$' is qouted by prefixing it with a '$'.
|
||||||
|
*/
|
||||||
|
|
||||||
assemble( str)
|
assemble( str)
|
||||||
char *str;
|
char *str;
|
||||||
|
|
||||||
|
/* Output assembly instruction. Substitute for '$n' the name of the
|
||||||
|
* the n-th argument of the current EM-instruction.
|
||||||
|
*/
|
||||||
{
|
{
|
||||||
char buf[512] , *b_ptr, *arg_format();
|
char buf[512] , *b_ptr, *arg_format();
|
||||||
int nr;
|
int nr;
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
block_assemble( instructions, nr, first, last)
|
block_assemble( instructions, nr, first, last)
|
||||||
|
|
||||||
|
/* Assemble a block of assembly instructions. If the table writer wants to
|
||||||
|
* combine assembly instructions he must rewrite this routine to fulfill his
|
||||||
|
* own needs.
|
||||||
|
*/
|
||||||
|
|
||||||
char **instructions;
|
char **instructions;
|
||||||
int nr, first, last;
|
int nr, first, last;
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue