<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>doc/casl2_spec/img/r_1-01.svg</title> <meta name='robots' content='noindex,nofollow' /> <meta name='generator' content='GLOBAL-6.6.5' /> <meta http-equiv='Content-Style-Type' content='text/css' /> <link rel='stylesheet' type='text/css' href='../style.css' /> </head> <body> <a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/2921.html'>doc</a>/<a href='../files/2922.html'>casl2_spec</a>/<a href='../files/2923.html'>img</a>/r_1-01.svg</h2> <em class='comment'>/* [<][>][^][v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> <hr /> <pre> <a id='L1' name='L1'></a><?xml version="1.0" encoding="utf-8"?> <a id='L2' name='L2'></a><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="750" height="1000"> <a id='L3' name='L3'></a> <g fill="black"> <a id='L4' name='L4'></a> <g font-family="monospace" font-size="10pt"> <a id='L5' name='L5'></a> <text x="10" y="35">15</text> <a id='L6' name='L6'></a> <text x="50" y="35">11</text> <a id='L7' name='L7'></a> <text x="90" y="35">7</text> <a id='L8' name='L8'></a> <text x="130" y="35">3</text> <a id='L9' name='L9'></a> <text x="160" y="35">0</text> <a id='L10' name='L10'></a> <text x="170" y="35">15</text> <a id='L11' name='L11'></a> <text x="320" y="35">0</text> <a id='L12' name='L12'></a> </g> <a id='L13' name='L13'></a> <text x="400" y="35" font-family="sans-serif" font-size="10pt">ビット番号</text> <a id='L14' name='L14'></a> </g> <a id='L15' name='L15'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L16' name='L16'></a> <path d="M330,30 L390,30" /> <a id='L17' name='L17'></a> <path d="M340,25 L330,30 L340,35" /> <a id='L18' name='L18'></a> </g> <a id='L19' name='L19'></a> <rect x="10" y="40" width="720" height="880" fill="none" stroke="black" stroke-width="1" /> <a id='L20' name='L20'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L21' name='L21'></a> <path d="M10,60 L330,60" /> <a id='L22' name='L22'></a> <path d="M10,80 L90,80" /> <a id='L23' name='L23'></a> <path d="M10,100 L730,100" /> <a id='L24' name='L24'></a> <path d="M370,60 L730,60" /> <a id='L25' name='L25'></a> <a id='L26' name='L26'></a> <path d="M50,80 L50,920" /> <a id='L27' name='L27'></a> <path d="M90,60 L90,920" /> <a id='L28' name='L28'></a> <path d="M130,60 L130,920" /> <a id='L29' name='L29'></a> <path d="M170,40 L170,920" /> <a id='L30' name='L30'></a> <path d="M330,40 L330,920" /> <a id='L31' name='L31'></a> <path d="M370,40 L370,920" /> <a id='L32' name='L32'></a> <path d="M550,60 L550,920" /> <a id='L33' name='L33'></a> <a id='L34' name='L34'></a> <path d="M10,120 L730,120" /> <a id='L35' name='L35'></a> <path d="M10,200 L730,200" /> <a id='L36' name='L36'></a> <path d="M10,360 L730,360" /> <a id='L37' name='L37'></a> <path d="M10,480 L730,480" /> <a id='L38' name='L38'></a> <path d="M10,560 L730,560" /> <a id='L39' name='L39'></a> <path d="M10,640 L730,640" /> <a id='L40' name='L40'></a> <path d="M10,760 L730,760" /> <a id='L41' name='L41'></a> <path d="M10,800 L730,800" /> <a id='L42' name='L42'></a> <path d="M10,840 L730,840" /> <a id='L43' name='L43'></a> <path d="M10,900 L730,900" /> <a id='L44' name='L44'></a> </g> <a id='L45' name='L45'></a> <g font-size="15px" font-family="sans-serif" fill="black"> <a id='L46' name='L46'></a> <text x="80" y="55">第1語</text> <a id='L47' name='L47'></a> <text x="240" y="55">第2語</text> <a id='L48' name='L48'></a> <text x="25" y="75">OP</text> <a id='L49' name='L49'></a> <text x="15" y="95" font-size="10pt">主OP</text> <a id='L50' name='L50'></a> <text x="55" y="95" font-size="10pt">副OP</text> <a id='L51' name='L51'></a> <text x="95" y="85" font-size="10pt" font-family="monospace">r/r1</text> <a id='L52' name='L52'></a> <text x="135" y="85" font-size="10pt" font-family="monospace">x/r2</text> <a id='L53' name='L53'></a> <text x="240" y="85" font-family="monospace">adr</text> <a id='L54' name='L54'></a> <text x="335" y="65">命令</text> <a id='L55' name='L55'></a> <text x="335" y="85">語長</text> <a id='L56' name='L56'></a> <text x="455" y="55">命令語とアセンブラとの対応</text> <a id='L57' name='L57'></a> <text x="415" y="85">機械語命令</text> <a id='L58' name='L58'></a> <text x="625" y="85">意味</text> <a id='L59' name='L59'></a> </g> <a id='L60' name='L60'></a> <a id='L61' name='L61'></a> <g font-size="15px" fill="black"> <a id='L62' name='L62'></a> <text x="25" y="115">0</text><text x="65" y="115">0</text><text x="100" y="115">&#x2014;</text><text x="140" y="115">&#x2014;</text><text x="245" y="115">&#x2014;</text><text x="345" y="115">1</text><text x="380" y="115" font-family="monospace">NOP</text><text x="555" y="115">no operation</text> <a id='L63' name='L63'></a> <text x="25" y="135">1</text><text x="65" y="135">0</text><text x="345" y="135">2</text><text x="380" y="135" font-family="monospace">LD</text><text x="440" y="135" font-family="monospace">r,adr,x</text><text x="555" y="135">load</text> <a id='L64' name='L64'></a> <text x="65" y="155">1</text><text x="345" y="155">2</text><text x="380" y="155" font-family="monospace">ST</text><text x="440" y="155" font-family="monospace">r,adr,x</text><text x="555" y="155">store</text> <a id='L65' name='L65'></a> <text x="65" y="175">2</text><text x="345" y="175">2</text><text x="380" y="175" font-family="monospace">LAD</text><text x="440" y="175" font-family="monospace">r,adr,x</text><text x="555" y="175">load address</text> <a id='L66' name='L66'></a> <text x="65" y="195">4</text><text x="245" y="195">&#x2014;</text><text x="345" y="195">1</text><text x="380" y="195" font-family="monospace">LD</text><text x="440" y="195" font-family="monospace">r1,r2</text><text x="555" y="195">load</text> <a id='L67' name='L67'></a> <text x="25" y="215">2</text><text x="65" y="215">0</text><text x="345" y="215">2</text><text x="380" y="215" font-family="monospace">ADDA</text><text x="440" y="215" font-family="monospace">r,adr,x</text><text x="555" y="215">add arithmetic</text> <a id='L68' name='L68'></a> <text x="65" y="235">1</text><text x="345" y="235">2</text><text x="380" y="235" font-family="monospace">SUBA</text><text x="440" y="235" font-family="monospace">r,adr,x</text><text x="555" y="235">subtract arithmetic</text> <a id='L69' name='L69'></a> <text x="65" y="255">2</text><text x="345" y="255">2</text><text x="380" y="255" font-family="monospace">ADDL</text><text x="440" y="255" font-family="monospace">r,adr,x</text><text x="555" y="255">add logical</text> <a id='L70' name='L70'></a> <text x="65" y="275">3</text><text x="345" y="275">2</text><text x="380" y="275" font-family="monospace">SUBL</text><text x="440" y="275" font-family="monospace">r,adr,x</text><text x="555" y="275">subtract logical</text> <a id='L71' name='L71'></a> <text x="65" y="295">4</text><text x="245" y="295">&#x2014;</text><text x="345" y="295">1</text><text x="380" y="295" font-family="monospace">ADDA</text><text x="440" y="295" font-family="monospace">r1,r2</text><text x="555" y="295">add arithmetic</text> <a id='L72' name='L72'></a> <text x="65" y="315">5</text><text x="245" y="315">&#x2014;</text><text x="345" y="315">1</text><text x="380" y="315" font-family="monospace">SUBA</text><text x="440" y="315" font-family="monospace">r1,r2</text><text x="555" y="315">subtract arithmetic</text> <a id='L73' name='L73'></a> <text x="65" y="335">6</text><text x="245" y="335">&#x2014;</text><text x="345" y="335">1</text><text x="380" y="335" font-family="monospace">ADDL</text><text x="440" y="335" font-family="monospace">r1,r2</text><text x="555" y="335">add logical</text> <a id='L74' name='L74'></a> <text x="65" y="355">7</text><text x="245" y="355">&#x2014;</text><text x="345" y="355">1</text><text x="380" y="355" font-family="monospace">SUBL</text><text x="440" y="355" font-family="monospace">r1,r2</text><text x="555" y="355">subtract logical</text> <a id='L75' name='L75'></a> <text x="25" y="375">3</text><text x="65" y="375">0</text><text x="345" y="375">2</text><text x="380" y="375" font-family="monospace">AND</text><text x="440" y="375" font-family="monospace">r,adr,x</text><text x="555" y="375">and</text> <a id='L76' name='L76'></a> <text x="65" y="395">1</text><text x="345" y="395">2</text><text x="380" y="395" font-family="monospace">OR</text><text x="440" y="395" font-family="monospace">r,adr,x</text><text x="555" y="395">or</text> <a id='L77' name='L77'></a> <text x="65" y="415">2</text><text x="345" y="415">2</text><text x="380" y="415" font-family="monospace">XOR</text><text x="440" y="415" font-family="monospace">r,adr,x</text><text x="555" y="415">exclusive or</text> <a id='L78' name='L78'></a> <text x="65" y="435">4</text><text x="245" y="435">&#x2014;</text><text x="345" y="435">1</text><text x="380" y="435" font-family="monospace">AND</text><text x="440" y="435" font-family="monospace">r1,r2</text><text x="555" y="435">and</text> <a id='L79' name='L79'></a> <text x="65" y="455">5</text><text x="245" y="455">&#x2014;</text><text x="345" y="455">1</text><text x="380" y="455" font-family="monospace">OR</text><text x="440" y="455" font-family="monospace">r1,r2</text><text x="555" y="455">or</text> <a id='L80' name='L80'></a> <text x="65" y="475">6</text><text x="245" y="475">&#x2014;</text><text x="345" y="475">1</text><text x="380" y="475" font-family="monospace">XOR</text><text x="440" y="475" font-family="monospace">r1,r2</text><text x="555" y="475">exclusive or</text> <a id='L81' name='L81'></a> <text x="25" y="495">4</text><text x="65" y="495">0</text><text x="345" y="495">2</text><text x="380" y="495" font-family="monospace">CPA</text><text x="440" y="495" font-family="monospace">r,adr,x</text><text x="555" y="495">compare arithmetic</text> <a id='L82' name='L82'></a> <text x="65" y="515">1</text><text x="345" y="515">2</text><text x="380" y="515" font-family="monospace">CPL</text><text x="440" y="515" font-family="monospace">r,adr,x</text><text x="555" y="515">compare logical</text> <a id='L83' name='L83'></a> <text x="65" y="535">4</text><text x="245" y="535">&#x2014;</text><text x="345" y="535">2</text><text x="380" y="535" font-family="monospace">CPA</text><text x="440" y="535" font-family="monospace">r1,r2</text><text x="555" y="535">compare arithmetic</text> <a id='L84' name='L84'></a> <text x="65" y="555">5</text><text x="245" y="555">&#x2014;</text><text x="345" y="555">2</text><text x="380" y="555" font-family="monospace">CPL</text><text x="440" y="555" font-family="monospace">r1,r2</text><text x="555" y="555">compare logical</text> <a id='L85' name='L85'></a> <text x="25" y="575">5</text><text x="65" y="575">0</text><text x="345" y="575">2</text><text x="380" y="575" font-family="monospace">SLA</text><text x="440" y="575" font-family="monospace">r,adr,x</text><text x="555" y="575">shift left arithmetic</text> <a id='L86' name='L86'></a> <text x="65" y="595">1</text><text x="345" y="595">2</text><text x="380" y="595" font-family="monospace">SRA</text><text x="440" y="595" font-family="monospace">r,adr,x</text><text x="555" y="595">shift right arithmetic</text> <a id='L87' name='L87'></a> <text x="65" y="615">2</text><text x="345" y="615">2</text><text x="380" y="615" font-family="monospace">SLL</text><text x="440" y="615" font-family="monospace">r,adr,x</text><text x="555" y="615">shift left logical</text> <a id='L88' name='L88'></a> <text x="65" y="635">3</text><text x="345" y="635">2</text><text x="380" y="635" font-family="monospace">SRL</text><text x="440" y="635" font-family="monospace">r,adr,x</text><text x="555" y="635">shift right logical</text> <a id='L89' name='L89'></a> <text x="25" y="655">6</text><text x="65" y="655">1</text><text x="100" y="655">&#x2014;</text><text x="345" y="655">2</text><text x="380" y="655" font-family="monospace">JMI</text><text x="440" y="655" font-family="monospace">adr,x</text><text x="555" y="655">jump on minus</text> <a id='L90' name='L90'></a> <text x="65" y="675">2</text><text x="100" y="675">&#x2014;</text><text x="345" y="675">2</text><text x="380" y="675" font-family="monospace">JNZ</text><text x="440" y="675" font-family="monospace">adr,x</text><text x="555" y="675">jump on non zero</text> <a id='L91' name='L91'></a> <text x="65" y="695">3</text><text x="100" y="695">&#x2014;</text><text x="345" y="695">2</text><text x="380" y="695" font-family="monospace">JZE</text><text x="440" y="695" font-family="monospace">adr,x</text><text x="555" y="695">jump on zero</text> <a id='L92' name='L92'></a> <text x="65" y="715">4</text><text x="100" y="715">&#x2014;</text><text x="345" y="715">2</text><text x="380" y="715" font-family="monospace">JUMP</text><text x="440" y="715" font-family="monospace">adr,x</text><text x="555" y="715">unconditional jump</text> <a id='L93' name='L93'></a> <text x="65" y="735">5</text><text x="100" y="735">&#x2014;</text><text x="345" y="735">2</text><text x="380" y="735" font-family="monospace">JPL</text><text x="440" y="735" font-family="monospace">adr,x</text><text x="555" y="735">jump on plus</text> <a id='L94' name='L94'></a> <text x="65" y="755">6</text><text x="100" y="755">&#x2014;</text><text x="345" y="755">2</text><text x="380" y="755" font-family="monospace">JOV</text><text x="440" y="755" font-family="monospace">adr,x</text><text x="555" y="755">jump on overflow</text> <a id='L95' name='L95'></a> <text x="25" y="775">7</text><text x="65" y="775">0</text><text x="100" y="775">&#x2014;</text><text x="345" y="775">2</text><text x="380" y="775" font-family="monospace">PUSH</text><text x="440" y="775" font-family="monospace">adr,x</text><text x="555" y="775">push</text> <a id='L96' name='L96'></a> <text x="65" y="795">1</text><text x="140" y="795">&#x2014;</text><text x="245" y="795">&#x2014;</text><text x="345" y="795">1</text><text x="380" y="795" font-family="monospace">POP</text><text x="440" y="795" font-family="monospace">r</text><text x="555" y="795">pop</text> <a id='L97' name='L97'></a> <text x="25" y="815">8</text><text x="65" y="815">0</text><text x="100" y="815">&#x2014;</text><text x="345" y="815">2</text><text x="380" y="815" font-family="monospace">CALL</text><text x="440" y="815" font-family="monospace">adr,x</text><text x="555" y="815">call subroutine</text> <a id='L98' name='L98'></a> <text x="65" y="835">1</text><text x="100" y="835">&#x2014;</text><text x="140" y="835">&#x2014;</text><text x="245" y="835">&#x2014;</text><text x="345" y="835">1</text><text x="380" y="835" font-family="monospace">RET</text><text x="555" y="835">return from subroutine</text> <a id='L99' name='L99'></a> <text x="25" y="855">9</text><text x="380" y="875">その他の命令</text> <a id='L100' name='L100'></a> <text x="25" y="875">&#x301C;</text> <a id='L101' name='L101'></a> <text x="25" y="895">E</text> <a id='L102' name='L102'></a> <text x="25" y="915">F</text><text x="65" y="915">0</text><text x="100" y="915">&#x2014;</text><text x="345" y="915">2</text><text x="380" y="915" font-family="monospace">SVC</text><text x="440" y="915" font-family="monospace">adr,x</text><text x="555" y="915">supervisor call</text> <a id='L103' name='L103'></a> </g> <a id='L104' name='L104'></a></svg> </pre> <hr /> <a id='BOTTOM' name='BOTTOM'></a> <em class='comment'>/* [<][>][^][v]<a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em> </body> </html>