Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(SPLIT[1].equalsIgnoreCase("LTORG")){
- test=1;
- LOCCTR=parseInt(LITTABvalue.get(LITTABvalue.size()));
- // e2ra kol 7aga mn el arraylists w b3d kda e3mlhom el location counter bta3hom
- }
- else if (j==OPCODE.length-1) {
- if (SPLIT[1].equalsIgnoreCase("end")){
- programLength=LOCCTR-startingAddress;
- SYMTAB.put(SPLIT[0], LOCCTR);
- if(test==0){
- LOCCTR=parseInt(LITTABvalue.get(LITTABvalue.size()));
- }
- }
- else { error=1; write[j]=write[j]+" error";}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement