Lines Matching refs:ins
184 unsigned int ins = *p++; in dasm_put() local
185 unsigned int action = (ins >> 16); in dasm_put()
193 n = (ins & 255); CK(n < D->maxsection, RANGE_SEC); in dasm_put()
197 case DASM_ALIGN: ofs += (ins & 255); b[pos++] = ofs; break; in dasm_put()
199 n = (ins & 2047) - 10; pl = D->lglabels + n; in dasm_put()
219 pl = D->lglabels + (ins & 2047) - 10; CKPL(lg, LG); goto putlabel; in dasm_put()
231 CK((n & ((1<<((ins>>10)&31))-1)) == 0, RANGE_I); in dasm_put()
233 n >>= ((ins>>10)&31); in dasm_put()
235 if (ins & 0x8000) in dasm_put()
236 CK(((n + (1<<(((ins>>5)&31)-1)))>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put()
238 CK((n>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put()
292 unsigned int ins = *p++; in dasm_link() local
293 unsigned int action = (ins >> 16); in dasm_link()
298 case DASM_ALIGN: ofs -= (b[pos++] + ofs) & (ins & 255); break; in dasm_link()
338 unsigned int ins = *p++; in dasm_encode() local
339 unsigned int action = (ins >> 16); in dasm_encode()
345 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins & 2047), 1) - 4; in dasm_encode()
348 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0x60000000; in dasm_encode()
361 (((n+4) + ((ins & 2048) ? 0x00008000 : 0x02000000)) >> in dasm_encode()
362 ((ins & 2048) ? 16 : 26)) == 0, RANGE_REL); in dasm_encode()
363 cp[-1] |= ((n+4) & ((ins & 2048) ? 0x0000fffc: 0x03fffffc)); in dasm_encode()
366 ins &= 2047; if (ins >= 20) D->globals[ins-20] = (void *)(base + n); in dasm_encode()
370 cp[-1] |= (n & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
373 cp[-1] |= (ins & 1) ? ((n&31)<<11)|((n&32)>>4) : ((n&31)<<6)|(n&32); in dasm_encode()
375 default: *cp++ = ins; break; in dasm_encode()