public final void assignment() throws RecognitionException {
		ParserRuleReturnScope labelfield2 =null;
		ParserRuleReturnScope value3 =null;

		try {
			// C:\\Users\\Shreeprabha\\Documents\\GitHub\\CecilRPi\\src\\org\\raspberrypi\\cecil\\model\\grammar\\Cecil.g:164:3: ( ( '.' labelfield )? 'insert' value )
			// C:\\Users\\Shreeprabha\\Documents\\GitHub\\CecilRPi\\src\\org\\raspberrypi\\cecil\\model\\grammar\\Cecil.g:164:4: ( '.' labelfield )? 'insert' value
			{
			// C:\\Users\\Shreeprabha\\Documents\\GitHub\\CecilRPi\\src\\org\\raspberrypi\\cecil\\model\\grammar\\Cecil.g:164:4: ( '.' labelfield )?
			int alt5=2;
			int LA5_0 = input.LA(1);
			if ( (LA5_0==8) ) {
				alt5=1;
			}
			switch (alt5) {
				case 1 :
					// C:\\Users\\Shreeprabha\\Documents\\GitHub\\CecilRPi\\src\\org\\raspberrypi\\cecil\\model\\grammar\\Cecil.g:164:5: '.' labelfield
					{
					match(input,8,FOLLOW_8_in_assignment148); 
					pushFollow(FOLLOW_labelfield_in_assignment150);
					labelfield2=labelfield();
					state._fsp--;

					 /* filling labelfield hashmap */
					    if(labelfield.containsKey((labelfield2!=null?input.toString(labelfield2.start,labelfield2.stop):null))) throw new RecognitionException();
					    else labelfield.put(((labelfield2!=null?input.toString(labelfield2.start,labelfield2.stop):null)),pointer);
					  
					}
					break;

			}

			match(input,15,FOLLOW_15_in_assignment163); 
			pushFollow(FOLLOW_value_in_assignment165);
			value3=value();
			state._fsp--;


			        instructionfield.put(pointer, "insert");
			        sim40.memory[pointer++] = Integer.parseInt((value3!=null?input.toString(value3.start,value3.stop):null));
			    
			  
			}

		}

		  /**
		  * Rulecatch implicitly invoked by the parser. The error is appended to the StreamOutputError list. 
		  */
		     catch (RecognitionException e) {  
		             String msg = getErrorMessage(e, tokenNames);
		             this.stream.getErrors().add(new OutputError(e.line, msg));    
		           
		             System.out.println(e.line + " : " + msg);  
		     } 

		finally {
			// do for sure before leaving
		}
	}