Added all instruction in subfolder a64instruction
This commit is contained in:
parent
62ff6e9e02
commit
efaed431d0
@ -1,6 +1,6 @@
|
||||
#include <stdbool.h>
|
||||
#include "a64instruction_global.h"
|
||||
#include "global.h"
|
||||
#include "../global.h"
|
||||
|
||||
typedef enum {
|
||||
a64inst_UNCONDITIONAL = 0,
|
||||
@ -1,4 +1,4 @@
|
||||
#include "global.h"
|
||||
#include "../global.h"
|
||||
|
||||
typedef struct {
|
||||
word value;
|
||||
@ -1,6 +1,6 @@
|
||||
#include <stdbool.h>
|
||||
#include "a64instruction_global.h"
|
||||
#include "global.h"
|
||||
#include "../global.h"
|
||||
|
||||
typedef enum {
|
||||
a64inst_SINGLE_TRANSFER_SINGLE_DATA_TRANSFER = 1,
|
||||
@ -1,7 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "parser.c"
|
||||
#include "fileio.c"
|
||||
#include "parser.h"
|
||||
#include "fileio.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#include "global.h"
|
||||
#include "a64instruction.h"
|
||||
#include "a64instruction/a64instruction.h"
|
||||
|
||||
#define HALT_WORD 0x8a000000
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include "a64instruction.h"
|
||||
#include "a64instruction/a64instruction.h"
|
||||
#include "emulator.h"
|
||||
#include "fileio.h"
|
||||
#include "global.h"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#ifndef __EXECUTE__
|
||||
#define __EXECUTE__
|
||||
#include "a64instruction.h"
|
||||
#include "a64instruction/a64instruction.h"
|
||||
#include "emulator.h"
|
||||
|
||||
void execute(Machine *state, a64inst_instruction *inst);
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
#include <stdbool.h>
|
||||
#include "parser.h"
|
||||
|
||||
#include "a64instruction.h"
|
||||
#include "a64instruction/a64instruction.h"
|
||||
|
||||
//takes input string, read from asm file and returns
|
||||
//input as an a64 instruction
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#include "global.h"
|
||||
#include "a64instruction.h"
|
||||
#include "a64instruction/a64instruction.h"
|
||||
#include "symboltable.h"
|
||||
//generates assembled code based on two pass assembly method
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user