public void TerSelector()
        {
            var sExp =
                #region Expected

                @"// Before ///////
// test
// Return size: 0
void test()
test_entry:
	// succ:  l1
l1:
	ds = 0x1234
	Mem0[ds:0x0010:word32] = 0x00010004
test_exit:

// After ///////
// test
// Return size: 0
void test()
test_entry:
	// succ:  l1
l1:
	ds = seg1234
	ds->dw0010 = 0x00010004
test_exit:

"
            ;

            #endregion

            var seg = new ImageSegment(
                "1234",
                new MemoryArea(Address.SegPtr(0x1234, 0), new byte[0x100]),
                AccessMode.ReadWriteExecute);
            seg.Identifier = Identifier.CreateTemporary("seg1234", PrimitiveType.SegmentSelector);
            imageSegments.Add(seg.Address, seg);
            RunStringTest(m =>
            {
                var ds = m.Frame.CreateTemporary("ds", PrimitiveType.SegmentSelector);
                m.Assign(ds, Constant.Create(ds.DataType, 0x1234));
                m.SStore(ds, m.Word16(0x10), m.Word32(0x010004));
            }, sExp);
        }