Advertisement
Guest User

Untitled

a guest
Dec 26th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. else if(SPLIT[1].equalsIgnoreCase("LTORG")){
  2. test=1;
  3. LOCCTR=parseInt(LITTABvalue.get(LITTABvalue.size()));
  4. // e2ra kol 7aga mn el arraylists w b3d kda e3mlhom el location counter bta3hom
  5. }
  6.  
  7. else if (j==OPCODE.length-1) {
  8. if (SPLIT[1].equalsIgnoreCase("end")){
  9. programLength=LOCCTR-startingAddress;
  10. SYMTAB.put(SPLIT[0], LOCCTR);
  11. if(test==0){
  12. LOCCTR=parseInt(LITTABvalue.get(LITTABvalue.size()));
  13. }
  14.  
  15. }
  16. else { error=1; write[j]=write[j]+" error";}
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement