equal
deleted
inserted
replaced
157 memcpy(buffer_cursor, visible_value_p, size); |
157 memcpy(buffer_cursor, visible_value_p, size); |
158 /* increment cursor according size*/ |
158 /* increment cursor according size*/ |
159 buffer_cursor = next_cursor; |
159 buffer_cursor = next_cursor; |
160 } |
160 } |
161 /* re-force real value of outputs (M and Q)*/ |
161 /* re-force real value of outputs (M and Q)*/ |
162 if(flags & (__IEC_FORCE_FLAG | __IEC_OUTPUT_FLAG)){ |
162 if((flags & __IEC_FORCE_FLAG) && (flags & __IEC_OUTPUT_FLAG)){ |
163 memcpy(real_value_p, visible_value_p, size); |
163 memcpy(real_value_p, visible_value_p, size); |
164 } |
164 } |
165 } |
165 } |
166 if(flags & __IEC_RETAIN_FLAG){ |
166 if(flags & __IEC_RETAIN_FLAG){ |
167 /* compute next cursor positon*/ |
167 /* compute next cursor positon*/ |