Example #1
0
        public ASMEncodingUtilityHelper(ASMEncodingUtilityHelper utilityHelper)
        {
            _asmEncoder = new ASMEncoder(utilityHelper._asmEncoder);

            _pseudoHelper = _asmEncoder.PseudoHelper;
            _valueHelper  = _pseudoHelper.ValueHelper;
            _labelHelper  = _valueHelper.LabelHelper;

            _formatHelper = _labelHelper.FormatHelper;
            _regHelper    = utilityHelper._regHelper;

            _asmDecoder = new ASMDecoder(_formatHelper, _regHelper);

            _asmCheckHelper = new ASMCheckHelper(_asmEncoder, _asmDecoder);
        }
Example #2
0
 public static uint ProcessStartPC(string asm, uint pc)
 {
     return(ASMEncodingUtilityHelper.ProcessStartPC(asm, pc));
 }