35 lines
955 B
XML
35 lines
955 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Set up x86 16-bit in protected mode -->
|
|
|
|
<processor_spec>
|
|
<properties>
|
|
<property key="useOperandReferenceAnalyzerSwitchTables" value="true"/>
|
|
</properties>
|
|
<programcounter register="EIP"/>
|
|
<segmented_address space="ram" type="protected"/>
|
|
<segmentop space="ram" userop="segment" farpointer="yes">
|
|
<pcode>
|
|
<input name="inner" size="2"/>
|
|
<input name="base" size="2"/>
|
|
<output name="res" size="4"/>
|
|
<body><![CDATA[
|
|
res = (zext(base) << 16) + zext(inner);
|
|
]]></body>
|
|
</pcode>
|
|
<constresolve>
|
|
<register name="DS"/>
|
|
</constresolve>
|
|
</segmentop>
|
|
<context_data>
|
|
<context_set space="ram">
|
|
<set name="addrsize" val="0"/>
|
|
<set name="opsize" val="0"/>
|
|
<set name="protectedMode" val="1"/>
|
|
</context_set>
|
|
<tracked_set space="ram">
|
|
<set name="DF" val="0"/>
|
|
</tracked_set>
|
|
</context_data>
|
|
</processor_spec>
|