@Override
    public void emitCode() {
        Address address = null;
        if (isDigit(firstParam.charAt(0))) {
            System.out.println(lineNumber++ + ":   LDC  0," + firstParam +ZERO_REGISTER);
        } else {
            address =  manager.getAddressOfVar(firstParam);
            System.out.println(lineNumber++ + ":    LD  0," + address.getOffset() + address.getRegisterValue());//Register 6 holds a 0;
            
        }
        if (isDigit(secondParam.charAt(0))) {
            System.out.println(lineNumber++ + ":   LDC  1," + secondParam +ZERO_REGISTER);
        } else {
            address =  manager.getAddressOfVar(secondParam);
            System.out.println(lineNumber++ + ":    LD  1," + address.getOffset() + address.getRegisterValue()); 
            
        }
        
        System.out.println(lineNumber++ + ":    SUB 0,0,1");
        
        if(thirdParam.equals("<")){
            System.out.println(lineNumber++ + ":    JGE 0" + "," +  thenSize + "(7)");
        }
        else if (thirdParam.equals(">")) {
            System.out.println(lineNumber++ + ":    JLE 0" + "," +  thenSize + "(7)");
        }
        else if (thirdParam.equals("=")) {
            System.out.println(lineNumber++ + ":    JNE 0" + "," +  thenSize + "(7)");     
        }
        else if (thirdParam.equals("<=")){
            System.out.println(lineNumber++ + ":    JGT 0" + "," +  thenSize + "(7)");    
        }
        else if (thirdParam.equals(">=")){
            System.out.println(lineNumber++ + ":    JLT 0" + "," +  thenSize + "(7)"); 
        }
        else if (thirdParam.equals("!=")){
            System.out.println(lineNumber++ + ":    JEQ 0" + "," + thenSize+ "(7)");
        }   
    }