object.c
/*
 *  emit_gh_ijkm - emit an instruction with 7-bit op code, and 24-bit parcel address
 */
emit an instruction with 7-bit op code, and 24-bit parcel address
emit an instruction with 7 - bit op code and 24 - bit parcel address
void emit_gh_ijkm(Section *section, u8 gh, Value *ijkm) {
    u32 instr;
    instr = (gh << 25) | (ijkm->intValue & MASK24);
    putHalfWord(section, section->originCounter, instr);
    if (isExternal(ijkm)) {
        addExternalEntry(section, ijkm, TRUE, section->originCounter * 16 + 31, 24);
    }
    else if (isRelocatable(ijkm)) {
        addStdRelocationEntry(section, ijkm, TRUE);
    }
    listCodeLocation(section);
    listCode7_24(instr, ijkm->attributes);
    advanceBitPosition(section, 32);
}
void emit_gh_ijkm ( Section * section , u8 gh , Value * ijkm ) { u32 instr ; instr = ( gh << 25 ) | ( ijkm -> intValue & MASK24 ) ; putHalfWord ( section , section -> originCounter , instr ) ; if ( isExternal ( ijkm ) ) { addExternalEntry ( section , ijkm , TRUE , section -> originCounter * 16 + 31 , 24 ) ; } else if ( isRelocatable ( ijkm ) ) { addStdRelocationEntry ( section , ijkm , TRUE ) ; } listCodeLocation ( section ) ; listCode7_24 ( instr , ijkm -> attributes ) ; advanceBitPosition ( section , 32 ) ; }
emit_gh_ijkm - emit an instruction with 7-bit op code, and 24-bit parcel address
emit_gh_ijkm - emit an instruction with 7 - bit op code and 24 - bit parcel address