<!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/1_2-04.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>/1_2-04.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="200"> <a id='L3' name='L3'></a> <g transform="translate(10,10)"> <a id='L4' name='L4'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L5' name='L5'></a> <path d="M0,0 L661,0" /> <a id='L6' name='L6'></a> </g> <a id='L7' name='L7'></a> <a id='L8' name='L8'></a> <g transform="translate(0,0)"> <a id='L9' name='L9'></a> <g font-size="10pt" font-family="monospace"> <a id='L10' name='L10'></a> <text x="5" y="15" font-family="sans-serif">算術左シフト</text> <a id='L11' name='L11'></a> <text x="5" y="35">Shift Left Arithmetic</text> <a id='L12' name='L12'></a> <text x="205" y="25">SLA</text> <a id='L13' name='L13'></a> <text x="255" y="25">r,adr[,x]</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="M0,40 L350,40" /> <a id='L17' name='L17'></a> <path d="M0,0 L0,40" /> <a id='L18' name='L18'></a> <a id='L19' name='L19'></a> <path d="M200,0 L200,40" /> <a id='L20' name='L20'></a> </g> <a id='L21' name='L21'></a> </g> <a id='L22' name='L22'></a> <a id='L23' name='L23'></a> <g transform="translate(0,40)"> <a id='L24' name='L24'></a> <g font-size="10pt" font-family="monospace"> <a id='L25' name='L25'></a> <text x="5" y="15" font-family="sans-serif">算術右シフト</text> <a id='L26' name='L26'></a> <text x="5" y="35">Shift Right Arithmetic</text> <a id='L27' name='L27'></a> <text x="205" y="25">SRA</text> <a id='L28' name='L28'></a> <text x="255" y="25">r,adr[,x]</text> <a id='L29' name='L29'></a> </g> <a id='L30' name='L30'></a> <a id='L31' name='L31'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L32' name='L32'></a> <path d="M0,40 L350,40" /> <a id='L33' name='L33'></a> <path d="M0,0 L0,40" /> <a id='L34' name='L34'></a> <a id='L35' name='L35'></a> <path d="M200,0 L200,40" /> <a id='L36' name='L36'></a> <a id='L37' name='L37'></a> </g> <a id='L38' name='L38'></a> </g> <a id='L39' name='L39'></a> <a id='L40' name='L40'></a> <g transform="translate(0,80)"> <a id='L41' name='L41'></a> <g font-size="10pt" font-family="monospace"> <a id='L42' name='L42'></a> <text x="5" y="15" font-family="sans-serif">論理左シフト</text> <a id='L43' name='L43'></a> <text x="5" y="35">Shift Left Logical</text> <a id='L44' name='L44'></a> <text x="205" y="25">SLL</text> <a id='L45' name='L45'></a> <text x="255" y="25">r,adr[,x]</text> <a id='L46' name='L46'></a> </g> <a id='L47' name='L47'></a> <a id='L48' name='L48'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L49' name='L49'></a> <path d="M0,40 L350,40" /> <a id='L50' name='L50'></a> <path d="M0,0 L0,40" /> <a id='L51' name='L51'></a> <a id='L52' name='L52'></a> <path d="M200,0 L200,40" /> <a id='L53' name='L53'></a> <a id='L54' name='L54'></a> </g> <a id='L55' name='L55'></a> </g> <a id='L56' name='L56'></a> <a id='L57' name='L57'></a> <g transform="translate(0,120)"> <a id='L58' name='L58'></a> <g font-size="10pt" font-family="monospace"> <a id='L59' name='L59'></a> <text x="5" y="15" font-family="sans-serif">論理右シフト</text> <a id='L60' name='L60'></a> <text x="5" y="35">Shift Right Logical</text> <a id='L61' name='L61'></a> <text x="205" y="25">SRL</text> <a id='L62' name='L62'></a> <text x="255" y="25">r,adr[,x]</text> <a id='L63' name='L63'></a> </g> <a id='L64' name='L64'></a> <a id='L65' name='L65'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L66' name='L66'></a> <path d="M0,40 L350,40" /> <a id='L67' name='L67'></a> <path d="M0,0 L0,40" /> <a id='L68' name='L68'></a> <a id='L69' name='L69'></a> <path d="M200,0 L200,40" /> <a id='L70' name='L70'></a> <a id='L71' name='L71'></a> </g> <a id='L72' name='L72'></a> </g> <a id='L73' name='L73'></a> <a id='L74' name='L74'></a> <a id='L75' name='L75'></a> <g> <a id='L76' name='L76'></a> <g font-size="10pt" font-family="monospace"> <a id='L77' name='L77'></a> <text x="365" y="15">符号を除き(r)を実効アドレスで指定した</text> <a id='L78' name='L78'></a> <text x="355" y="30">ビット数だけ左又は右にシフトする。</text> <a id='L79' name='L79'></a> <text x="365" y="45">シフトの結果,空いたビット位置には,</text> <a id='L80' name='L80'></a> <text x="355" y="60">左シフトのときは0,右シフトのときは</text> <a id='L81' name='L81'></a> <text x="355" y="75">符号と同じものが入る。</text> <a id='L82' name='L82'></a> </g> <a id='L83' name='L83'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L84' name='L84'></a> <path d="M350,0 L350,80" /> <a id='L85' name='L85'></a> <path d="M350,80 L610,80" /> <a id='L86' name='L86'></a> </g> <a id='L87' name='L87'></a> </g> <a id='L88' name='L88'></a> <g transform="translate(0,80)"> <a id='L89' name='L89'></a> <g font-size="10pt" font-family="monospace"> <a id='L90' name='L90'></a> <text x="365" y="15">符号を含み(r)を実効アドレスで指定した</text> <a id='L91' name='L91'></a> <text x="355" y="30">ビット数だけ左又は右にシフトする。</text> <a id='L92' name='L92'></a> <text x="365" y="45">シフトの結果,空いたビット位置には,</text> <a id='L93' name='L93'></a> <text x="355" y="60">0が入る。</text> <a id='L94' name='L94'></a> </g> <a id='L95' name='L95'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L96' name='L96'></a> <path d="M350,0 L350,80" /> <a id='L97' name='L97'></a> <path d="M350,80 L610,80" /> <a id='L98' name='L98'></a> </g> <a id='L99' name='L99'></a> </g> <a id='L100' name='L100'></a> <g> <a id='L101' name='L101'></a> <g stroke="black" stroke-width="1" fill="none"> <a id='L102' name='L102'></a> <path d="M610,0 L610,161" /> <a id='L103' name='L103'></a> <path d="M660,0 L660,160" /> <a id='L104' name='L104'></a> <path d="M610,160 L660,160" /> <a id='L105' name='L105'></a> </g> <a id='L106' name='L106'></a> <g font-size="10pt" font-family="monospace"> <a id='L107' name='L107'></a> <text x="620" y="85">&#x25EF;*2</text> <a id='L108' name='L108'></a> </g> <a id='L109' name='L109'></a> </g> <a id='L110' name='L110'></a> </g> <a id='L111' name='L111'></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>