This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<stdlib.h> | |
#include<iostream> | |
#include<string.h> | |
#include<math.h> | |
#include<time.h> | |
#include<string.h> | |
using namespace std; | |
#define IN 999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include<math.h> | |
#define STACK_MAX 500 | |
#define OPERAND 10 | |
#define OPERATOR 20 | |
/* stack structure */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CJNE A, #27, NOT_EQL | |
EQL: ;A=27 | |
; Your Code Here | |
SJMP END_CMP | |
NOT_EQL: ; Your Code Here | |
JC A_LESS | |
A_GREATER: ;A > 27 | |
; Your Code Here | |
SJMP END_CMP | |
A_LESS: ;A < 27 |
NewerOlder