Lines Matching refs:ins
189 unsigned int ins = *p++; in dasm_put() local
190 unsigned int action = (ins >> 16); in dasm_put()
198 n = (ins & 255); CK(n < D->maxsection, RANGE_SEC); in dasm_put()
202 case DASM_ALIGN: ofs += (ins & 255); b[pos++] = ofs; break; in dasm_put()
204 n = (ins & 2047) - 10; pl = D->lglabels + n; in dasm_put()
224 pl = D->lglabels + (ins & 2047) - 10; CKPL(lg, LG); goto putlabel; in dasm_put()
236 CK((n & ((1<<((ins>>10)&31))-1)) == 0, RANGE_I); in dasm_put()
238 n >>= ((ins>>10)&31); in dasm_put()
240 if (ins & 0x8000) in dasm_put()
241 CK(((n + (1<<(((ins>>5)&31)-1)))>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put()
243 CK((n>>((ins>>5)&31)) == 0, RANGE_I); in dasm_put()
297 unsigned int ins = *p++; in dasm_link() local
298 unsigned int action = (ins >> 16); in dasm_link()
303 case DASM_ALIGN: ofs -= (b[pos++] + ofs) & (ins & 255); break; in dasm_link()
343 unsigned int ins = *p++; in dasm_encode() local
344 unsigned int action = (ins >> 16); in dasm_encode()
350 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins & 2047), 1) - 4; in dasm_encode()
353 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0x60000000; in dasm_encode()
362 (((n+4) + ((ins & 2048) ? 0x00008000 : 0x02000000)) >> in dasm_encode()
363 ((ins & 2048) ? 16 : 26)) == 0, RANGE_REL); in dasm_encode()
364 cp[-1] |= ((n+4) & ((ins & 2048) ? 0x0000fffc: 0x03fffffc)); in dasm_encode()
367 ins &= 2047; if (ins >= 20) D->globals[ins-10] = (void *)(base + n); in dasm_encode()
371 cp[-1] |= (n & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
374 cp[-1] |= (ins & 1) ? ((n&31)<<11)|((n&32)>>4) : ((n&31)<<6)|(n&32); in dasm_encode()
376 default: *cp++ = ins; break; in dasm_encode()