<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style type="text/css">
table {
border-collapse: collapse;
border-width: 1px;
border-spacing: 1px;
border-color: transparent;
margin: 16px 0;
width: 100%;
}
th {
background-color: #bbb; color: white;
}
td, th {
border-style: solid;
border-color: black;
border-width: 1px;
padding: 0 6px;
}
td p:first-child, th p:first-child {
margin-top: 3px;
}
td p:last-child, th p:last-child {
margin-bottom: 3px;
}
.super {
vertical-align: super;
font-size: 0.7em;
}
.smarkdoc {
margin-left: 42px; margin-right: 42px;
font-size: 13px;
font-family: 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif;
}
h1, h2, h3 { color: #3c4c6c; }
h1 {
text-align: center;
font-size: 200%;
/* margin-left: -30px; */
clear: both;
}
h2 {
font-size: 160%;
margin: 32px -40px 24px -42px;
padding: 3px 24px 8px;
border-bottom: 2px solid #5088c5;
clear: both;
}
h3 {
font-size: 130%;
margin: 20px -4px 10px;
padding: 4px;
clear: both;
}
h4 {
font-size: 110%;
margin: 2em 0 1em;
}
pre {
font-size: 90%;
background-color: #f0f0f4; padding: 6px; border: 1px solid #d0d0ee;
font-family: "Courier New", "Lucida Console", "Monaco", monospace;
}
.pre {
font-size: 90%;
padding: 6px;
background-color: #f0f0f4;
font-family: "Courier New", "Lucida Console", "Monaco", monospace;
}
code {
font-size: 90%;
font-family: "Courier New", "Lucida Console", "Monaco", monospace;
}
.codebox {
padding: 0 1px; margin-right:1px;
border:1px solid #d0d0ee;
background-color: #f0f0f4;
font-weight: bold;
font-family: "Courier New", "Lucida Console", "Monaco", monospace;
}
h3 code {
font-size: 100% ;
}
p {
margin: 0.8em 0;
}
ul, ol {
margin: 1em 0 1em 3em; padding: 0;
}
div.indent {
margin: 0 3em;
}
a {
text-decoration: none;
color: #2020b0;
}
a:hover {
border-bottom: 1px dotted #2030d0;
}
/*
|| Floats affect text flow but not block boundaries, so graphics in a DIV
|| would overlap floats if not for "clear: both"
*/
.diagram {
margin: 18px 0;
clear: both;
}
/* ======== .art ======== */
/* wheat-toned color scheme */
.art {
margin-right: auto; margin-left: auto; /* center */
font-family: Arial, Verdana, "Lucida Console", Monaco, monospace;
font-weight: bold;
}
.art * {
border-color: #543;
}
.art .dline, .art .drect {
border-style: dotted;
}
.art .rect {
-webkit-box-shadow: 0.2em 0.2em 0.3em rgba(0,0,0,0.3);
-moz-box-shadow: 0.2em 0.2em 0.3em rgba(0,0,0,0.3);
box-shadow: 0.2em 0.2em 0.2em #875;
background-color: #f9faf4; /* #fafff4; #f8f8ec; */
}
.art .nofx {
background-color: #f9faf4;
}
.art .round {
border-radius: 0.6em;
-webkit-border-radius: 0.6em;
-moz-border-radius: 0.6em;
}
/* .art .line { -webkit-box-shadow: 0.1em 0.1em 0.2em rgba(0,0,0,0.3); } */
/* ======================== */
.msc {
font: 11px Verdana, Monaco, "Lucida Console";
margin-left: auto; margin-right: auto;
background-color: white;
}
.tocLevel { margin-left: 2em; font-weight: normal; }
.tocLevel .tocLevel { font-size: 0.9em; }
.toc>.tocLevel { font-weight: bold; margin: 0.5em 0 }
.toc { column-count: 2; column-gap: 2em;
-moz-column-count: 2; -moz-column-gap: 2em;}
@media print {
@page {
margin: 0.75in 0.75in;
size: Letter;
@bottom {
content: counter(page);
vertical-align: top;
padding-top: 1em;
}
}
h1 { text-align: center;
margin: 3in 0 20px; }
h2 { page-break-before: always; }
h2 { string-set: section content() }
.toc { margin: 3em -2em }
.toc a::after {
font-size: 10px;
content: leader(' . ') " " target-counter(attr(href), page);
}
table { page-break-inside: avoid; }
}
</style><style type="text/css">
.html2d { position: relative; }
.html2d div { position: absolute; border-width: 0; border-style: solid; }
.html2d div div { position: absolute; border-width: 0; border-style: solid; }
</style><title>MCOperandAsSyntax.html</title>
</head><body>
<div class="smarkdoc"><p>
When MCOperand models the encoding:
</p><div class=diagram>
<div class="html2d art" style="width:232px;height:288px;line-height:16px;font-size:12.48px;white-space:nowrap">
<div class="rect round" style="border-width:3px;left:163px;top:7px;right:2px;bottom:246px"></div>
<div class="rect round" style="border-width:3px;left:75px;top:151px;right:58px;bottom:102px"></div>
<div class="rect round" style="border-width:3px;left:75px;top:247px;right:58px;bottom:6px"></div>
<div class="rect round" style="border-width:3px;left:11px;top:7px;right:90px;bottom:246px"></div>
<div style="border-top: 4px solid transparent;border-left-width: 10.5px;border-bottom: 4px solid transparent;left:61.5px;top:260px;line-height:0"></div>
<div class=line style="border-bottom-width:2px;border-left-width:2px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-bottomleft:8px;border-bottom-left-radius:8px;left:43px;top:239px;right:163px;bottom:23px"></div>
<div class=line style="border-left-width:2px;left:43px;top:207px;right:187px;bottom:63px"></div>
<div style="border-top-width: 10.5px;border-right: 4px solid transparent;border-left: 4px solid transparent;left:96px;top:229.5px;line-height:0"></div>
<div class=line style="border-left-width:2px;left:99px;top:183px;right:131px;bottom:51px"></div>
<div class=line style="border-left-width:2px;left:123px;top:71px;right:107px;bottom:191px"></div>
<div class=line style="border-top-width:2px;border-left-width:2px;-webkit-border-top-left-radius:8px;-moz-border-radius-topleft:8px;border-top-left-radius:8px;left:43px;top:167px;right:155px;bottom:95px"></div>
<div style="border-top-width: 10.5px;border-right: 4px solid transparent;border-left: 4px solid transparent;left:120px;top:133.5px;line-height:0"></div>
<div class=line style="border-left-width:2px;left:123px;top:111px;right:107px;bottom:147px"></div>
<div class=line style="border-width:2px;border-top-width:0;-webkit-border-bottom-left-radius:8px;-moz-border-radius-bottomleft:8px;border-bottom-left-radius:8px;-webkit-border-bottom-right-radius:8px;-moz-border-radius-bottomright:8px;border-bottom-right-radius:8px;left:59px;top:39px;right:43px;bottom:215px"></div>
<div style="border-right: 4px solid transparent;border-left: 4px solid transparent;border-bottom-width: 10.5px;left:152px;top:192px;line-height:0"></div>
<div class=line style="border-left-width:2px;left:155px;top:195px;right:75px;bottom:39px"></div>
<div style="text-align:center;left:24px;top:16px;right:104px;bottom:256px">br label %end</div>
<div style="text-align:center;left:176px;top:16px;right:16px;bottom:256px">b end</div>
<div style="text-align:center;left:88px;top:96px;right:72px;bottom:176px">EncodeImm</div>
<div style="text-align:center;left:88px;top:160px;right:72px;bottom:112px">MCOperand</div>
<div style="text-align:center;left:16px;top:192px;right:176px;bottom:80px">Relax</div>
<div style="text-align:center;left:0px;top:224px;right:160px;bottom:48px">EncodeImm</div>
<div style="text-align:center;left:108px;top:256px;right:92px;bottom:16px">0x10</div>
</div>
</div>
<p>
When MCOperand models the syntax:
</p><div class=diagram>
<div class="html2d art" style="width:280px;height:272px;line-height:16px;font-size:12.48px;white-space:nowrap">
<div class="rect round" style="border-width:3px;left:59px;top:87px;right:66px;bottom:150px"></div>
<div class="rect round" style="border-width:3px;left:211px;top:7px;right:2px;bottom:230px"></div>
<div class="rect round" style="border-width:3px;left:59px;top:7px;right:90px;bottom:230px"></div>
<div class="rect round" style="border-width:3px;left:67px;top:231px;right:122px;bottom:6px"></div>
<div style="border-right: 4px solid transparent;border-left: 4px solid transparent;border-bottom-width: 10.5px;left:56px;top:128px;line-height:0"></div>
<div class=line style="border-width:2px;border-top-width:0;-webkit-border-bottom-right-radius:8px;-moz-border-radius-bottomright:8px;border-bottom-right-radius:8px;-webkit-border-bottom-left-radius:8px;-moz-border-radius-bottomleft:8px;border-bottom-left-radius:8px;left:27px;top:131px;right:219px;bottom:119px"></div>
<div class=line style="border-left-width:2px;left:27px;top:111px;right:251px;bottom:140px"></div>
<div style="border-top-width: 10.5px;border-right: 4px solid transparent;border-left: 4px solid transparent;left:80px;top:213.5px;line-height:0"></div>
<div class=line style="border-left-width:2px;left:83px;top:191px;right:195px;bottom:51px"></div>
<div class=line style="border-left-width:2px;left:83px;top:119px;right:195px;bottom:95px"></div>
<div class=line style="border-width:2px;border-bottom-width:0;-webkit-border-top-right-radius:8px;-moz-border-radius-topright:8px;border-top-right-radius:8px;-webkit-border-top-left-radius:8px;-moz-border-radius-topleft:8px;border-top-left-radius:8px;left:27px;top:71px;right:203px;bottom:183px"></div>
<div class=line style="border-left-width:2px;left:27px;top:88px;right:251px;bottom:175px;line-height:0"></div>
<div style="border-right: 4px solid transparent;border-left: 4px solid transparent;border-bottom-width: 10.5px;left:136px;top:128px;line-height:0"></div>
<div class=line style="border-left-width:2px;left:139px;top:131px;right:139px;bottom:79px"></div>
<div style="border-top: 4px solid transparent;border-right-width: 10.5px;border-bottom: 4px solid transparent;left:216px;top:100px;line-height:0"></div>
<div class=line style="border-bottom-width:2px;border-right-width:2px;-webkit-border-bottom-right-radius:8px;-moz-border-radius-bottomright:8px;border-bottom-right-radius:8px;left:219px;top:39px;right:43px;bottom:167px"></div>
<div class=line style="border-left-width:2px;left:139px;top:207px;right:139px;bottom:39px"></div>
<div style="border-top-width: 10.5px;border-right: 4px solid transparent;border-left: 4px solid transparent;left:104px;top:69.5px;line-height:0"></div>
<div class=line style="border-left-width:2px;left:107px;top:39px;right:171px;bottom:195px"></div>
<div style="text-align:center;left:72px;top:16px;right:104px;bottom:240px">br label %end</div>
<div style="text-align:center;left:224px;top:16px;right:16px;bottom:240px">b end</div>
<div style="text-align:center;left:0px;top:96px;right:240px;bottom:160px">Relax</div>
<div style="text-align:center;left:72px;top:96px;right:80px;bottom:160px">MCOperand = 0x20</div>
<div style="text-align:center;left:40px;top:176px;right:168px;bottom:80px">EncodeImm</div>
<div style="text-align:center;left:112px;top:192px;right:96px;bottom:64px">DecodeImm</div>
<div style="text-align:center;left:96px;top:240px;right:152px;bottom:16px">0x10</div>
</div>
</div>
</div>
</body>
</html>