Commit 11184299 authored by sea19's avatar sea19
Browse files

Finished Project

parent 503124ce
......@@ -116,7 +116,7 @@ int findMnemonic(char *p) {
}
return -1; //instruction not found
}
int getOperand2(char operands[20]) {
int result = 0;
if (operands[2] == 'x') {
......
......@@ -12,7 +12,6 @@ enum mnemonics {
};
int findLabel(FILE *srcFile, char *label, int currentAddress);
int getNoOfInstructions(FILE *srcFile);
......
......@@ -34,7 +34,7 @@
#define COND_BIT 28
#define MAX_LENGTH_OF_LINE 511
#define PC_OFFSET 8
#define NUM_OF_MNENMONICS 34
#define NUM_OF_MNENMONICS 35
#define MAX_LDR_USED_AS_MOV 256
#define MAX_NO_OF_ROTATIONS 16
#define ONE_ROTATION 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment