<!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_inner/gnu_global/S/24318.html</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.14' />
<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/30282.html'>doc_inner</a>/<a href='../files/30285.html'>gnu_global</a>/<a href='../files/30290.html'>S</a>/24318.html</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><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<a id='L2' name='L2'></a><html xmlns='http://www.w3.org/1999/xhtml'>
<a id='L3' name='L3'></a><head>
<a id='L4' name='L4'></a><title>src/disassemble.c</title>
<a id='L5' name='L5'></a><meta name='robots' content='noindex,nofollow' />
<a id='L6' name='L6'></a><meta name='generator' content='GLOBAL-6.6.14' />
<a id='L7' name='L7'></a><meta http-equiv='Content-Style-Type' content='text/css' />
<a id='L8' name='L8'></a><link rel='stylesheet' type='text/css' href='../style.css' />
<a id='L9' name='L9'></a></head>
<a id='L10' name='L10'></a><body>
<a id='L11' name='L11'></a><a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/24434.html'>src</a>/disassemble.c</h2>
<a id='L12' name='L12'></a><em class='comment'>/* [&lt;][&gt;]<a href='#L66'>[^]</a><a href='#L180'>[v]</a>[top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
<a id='L13' name='L13'></a><hr />
<a id='L14' name='L14'></a><h2 class='header'>DEFINITIONS</h2>
<a id='L15' name='L15'></a>This source file includes following definitions.
<a id='L16' name='L16'></a><ol>
<a id='L17' name='L17'></a><li><a href='#L66' title='Defined at 66.'>disassemble_puts_code</a></li>
<a id='L18' name='L18'></a><li><a href='#L78' title='Defined at 78.'>disassemble_cmd_adr_x</a></li>
<a id='L19' name='L19'></a><li><a href='#L97' title='Defined at 97.'>disassemble_cmd_r</a></li>
<a id='L20' name='L20'></a><li><a href='#L119' title='Defined at 119.'>disassemble_dc</a></li>
<a id='L21' name='L21'></a><li><a href='#L129' title='Defined at 129.'>disassemble_ds</a></li>
<a id='L22' name='L22'></a><li><a href='#L141' title='Defined at 141.'>fgetword</a></li>
<a id='L23' name='L23'></a><li><a href='#L148' title='Defined at 148.'>zero_data_cnt</a></li>
<a id='L24' name='L24'></a><li><a href='#L157' title='Defined at 157.'>disassemble_file</a></li>
<a id='L25' name='L25'></a><li><a href='#L180' title='Defined at 180.'>disassemble_memory</a></li>
<a id='L26' name='L26'></a></ol>
<a id='L27' name='L27'></a><hr />
<a id='L28' name='L28'></a><pre>
<a id='L29' name='L29'></a><a id='L1' name='L1'></a> 1 <em class='sharp'>#include</em> "<a href='23888.html'>disassemble.h</a>"
<a id='L30' name='L30'></a><a id='L2' name='L2'></a> 2
<a id='L31' name='L31'></a><a id='L3' name='L3'></a> 3 <em class='comment'>/**</em>
<a id='L32' name='L32'></a><a id='L4' name='L4'></a> 4 <em class='comment'> * @brief 機械コードの出力列</em>
<a id='L33' name='L33'></a><a id='L5' name='L5'></a> 5 <em class='comment'> */</em>
<a id='L34' name='L34'></a><a id='L6' name='L6'></a> 6 <strong class='reserved'>int</strong> <a href='../Y/71.html' title='Multiple used in 2 places.'>codecol</a> = 32;
<a id='L35' name='L35'></a><a id='L7' name='L7'></a> 7
<a id='L36' name='L36'></a><a id='L8' name='L8'></a> 8 <em class='comment'>/**</em>
<a id='L37' name='L37'></a><a id='L9' name='L9'></a> 9 <em class='comment'> * @brief ファイルストリームから1ワードを取得する</em>
<a id='L38' name='L38'></a><a id='L10' name='L10'></a> 10 <em class='comment'> *</em>
<a id='L39' name='L39'></a><a id='L11' name='L11'></a> 11 <em class='comment'> * @return 取得した1ワード</em>
<a id='L40' name='L40'></a><a id='L12' name='L12'></a> 12 <em class='comment'> *</em>
<a id='L41' name='L41'></a><a id='L13' name='L13'></a> 13 <em class='comment'> * @param stream ファイルストリーム</em>
<a id='L42' name='L42'></a><a id='L14' name='L14'></a> 14 <em class='comment'> */</em>
<a id='L43' name='L43'></a><a id='L15' name='L15'></a> 15 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../S/24318.html#L141' title='Defined at 141 in src/disassemble.c.'>fgetword</a>(<a href='../Y/2.html' title='Multiple used in 12 places.'>FILE</a> *<a href='../Y/219.html' title='Multiple used in 6 places.'>stream</a>);
<a id='L44' name='L44'></a><a id='L16' name='L16'></a> 16
<a id='L45' name='L45'></a><a id='L17' name='L17'></a> 17 <em class='comment'>/**</em>
<a id='L46' name='L46'></a><a id='L18' name='L18'></a> 18 <em class='comment'> * @brief WORDデータから、値が0のWORDがいくつ連続するか返す</em>
<a id='L47' name='L47'></a><a id='L19' name='L19'></a> 19 <em class='comment'> *</em>
<a id='L48' name='L48'></a><a id='L20' name='L20'></a> 20 <em class='comment'> * @return 値が0の連続するWORD数</em>
<a id='L49' name='L49'></a><a id='L21' name='L21'></a> 21 <em class='comment'> *</em>
<a id='L50' name='L50'></a><a id='L22' name='L22'></a> 22 <em class='comment'> * @param data WORDデータ</em>
<a id='L51' name='L51'></a><a id='L23' name='L23'></a> 23 <em class='comment'> * @param wordlen データのWORD数</em>
<a id='L52' name='L52'></a><a id='L24' name='L24'></a> 24 <em class='comment'> */</em>
<a id='L53' name='L53'></a><a id='L25' name='L25'></a> 25 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../S/24318.html#L148' title='Defined at 148 in src/disassemble.c.'>zero_data_cnt</a>(<strong class='reserved'>const</strong> <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> *<a href='../Y/79.html' title='Multiple used in 3 places.'>data</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/249.html' title='Multiple used in 6 places.'>wordlen</a>);
<a id='L54' name='L54'></a><a id='L26' name='L26'></a> 26
<a id='L55' name='L55'></a><a id='L27' name='L27'></a> 27 <em class='comment'>/**</em>
<a id='L56' name='L56'></a><a id='L28' name='L28'></a> 28 <em class='comment'> * @brief 機械コードをコメントとして標準出力へ出力する</em>
<a id='L57' name='L57'></a><a id='L29' name='L29'></a> 29 <em class='comment'> *</em>
<a id='L58' name='L58'></a><a id='L30' name='L30'></a> 30 <em class='comment'> * @param ascol アセンブラの列位置</em>
<a id='L59' name='L59'></a><a id='L31' name='L31'></a> 31 <em class='comment'> * @param pradr 次に実行すべき命令語の先頭アドレス</em>
<a id='L60' name='L60'></a><a id='L32' name='L32'></a> 32 <em class='comment'> * @param wordc ワード値の数</em>
<a id='L61' name='L61'></a><a id='L33' name='L33'></a> 33 <em class='comment'> * @param wordv ワード値の配列</em>
<a id='L62' name='L62'></a><a id='L34' name='L34'></a> 34 <em class='comment'> */</em>
<a id='L63' name='L63'></a><a id='L35' name='L35'></a> 35 <strong class='reserved'>void</strong> <a href='../S/24318.html#L66' title='Defined at 66 in src/disassemble.c.'>disassemble_puts_code</a>(<strong class='reserved'>int</strong> <a href='../Y/14.html' title='Multiple used in 3 places.'>ascol</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>, <strong class='reserved'>int</strong> <a href='../Y/248.html' title='Multiple used in 4 places.'>wordc</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/250.html' title='Multiple used in 4 places.'>wordv</a>[]);
<a id='L64' name='L64'></a><a id='L36' name='L36'></a> 36
<a id='L65' name='L65'></a><a id='L37' name='L37'></a> 37 <em class='comment'>/**</em>
<a id='L66' name='L66'></a><a id='L38' name='L38'></a> 38 <em class='comment'> * @brief 種類がR_ADRまたはR_ADR_Xのコマンドを逆アセンブルし、標準出力へ出力する</em>
<a id='L67' name='L67'></a><a id='L39' name='L39'></a> 39 <em class='comment'> *</em>
<a id='L68' name='L68'></a><a id='L40' name='L40'></a> 40 <em class='comment'> * @param cmdtype コマンドの種類</em>
<a id='L69' name='L69'></a><a id='L41' name='L41'></a> 41 <em class='comment'> * @param *cmdname コマンドの名前</em>
<a id='L70' name='L70'></a><a id='L42' name='L42'></a> 42 <em class='comment'> * @param word ワード値</em>
<a id='L71' name='L71'></a><a id='L43' name='L43'></a> 43 <em class='comment'> * @param adr アドレス値</em>
<a id='L72' name='L72'></a><a id='L44' name='L44'></a> 44 <em class='comment'> * @param pradr 次に実行すべき命令語の先頭アドレス</em>
<a id='L73' name='L73'></a><a id='L45' name='L45'></a> 45 <em class='comment'> */</em>
<a id='L74' name='L74'></a><a id='L46' name='L46'></a> 46 <strong class='reserved'>void</strong> <a href='../S/24318.html#L78' title='Defined at 78 in src/disassemble.c.'>disassemble_cmd_adr_x</a>(<a href='../S/23884.html#L102' title='Defined at 102 in include/struct.h.'>CMDTYPE</a> <a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/8.html' title='Multiple used in 72 places.'>adr</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>);
<a id='L75' name='L75'></a><a id='L47' name='L47'></a> 47
<a id='L76' name='L76'></a><a id='L48' name='L48'></a> 48 <em class='comment'>/**</em>
<a id='L77' name='L77'></a><a id='L49' name='L49'></a> 49 <em class='comment'> * @brief 種類がR1_R2またはR_のコマンドを逆アセンブルし、標準出力へ出力する</em>
<a id='L78' name='L78'></a><a id='L50' name='L50'></a> 50 <em class='comment'> *</em>
<a id='L79' name='L79'></a><a id='L51' name='L51'></a> 51 <em class='comment'> * @param cmdtype コマンドの種類</em>
<a id='L80' name='L80'></a><a id='L52' name='L52'></a> 52 <em class='comment'> * @param *cmdname コマンドの名前</em>
<a id='L81' name='L81'></a><a id='L53' name='L53'></a> 53 <em class='comment'> * @param word ワード値</em>
<a id='L82' name='L82'></a><a id='L54' name='L54'></a> 54 <em class='comment'> * @param pradr 次に実行すべき命令語の先頭アドレス</em>
<a id='L83' name='L83'></a><a id='L55' name='L55'></a> 55 <em class='comment'> */</em>
<a id='L84' name='L84'></a><a id='L56' name='L56'></a> 56 <strong class='reserved'>void</strong> <a href='../S/24318.html#L97' title='Defined at 97 in src/disassemble.c.'>disassemble_cmd_r</a>(<a href='../S/23884.html#L102' title='Defined at 102 in include/struct.h.'>CMDTYPE</a> <a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>);
<a id='L85' name='L85'></a><a id='L57' name='L57'></a> 57
<a id='L86' name='L86'></a><a id='L58' name='L58'></a> 58 <em class='comment'>/**</em>
<a id='L87' name='L87'></a><a id='L59' name='L59'></a> 59 <em class='comment'> * @brief DCコマンドを逆アセンブルし、標準出力へ出力する</em>
<a id='L88' name='L88'></a><a id='L60' name='L60'></a> 60 <em class='comment'> *</em>
<a id='L89' name='L89'></a><a id='L61' name='L61'></a> 61 <em class='comment'> * @param word ワード値</em>
<a id='L90' name='L90'></a><a id='L62' name='L62'></a> 62 <em class='comment'> * @param pradr 次に実行すべき命令語の先頭アドレス</em>
<a id='L91' name='L91'></a><a id='L63' name='L63'></a> 63 <em class='comment'> */</em>
<a id='L92' name='L92'></a><a id='L64' name='L64'></a> 64 <strong class='reserved'>void</strong> <a href='../S/24318.html#L119' title='Defined at 119 in src/disassemble.c.'>disassemble_dc</a>(<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>);
<a id='L93' name='L93'></a><a id='L65' name='L65'></a> 65
<a id='L94' name='L94'></a><a id='L66' name='L66'></a> 66 <strong class='reserved'>void</strong> <a href='../R/143.html' title='Multiple referred from 6 places.'>disassemble_puts_code</a>(<strong class='reserved'>int</strong> <a href='../Y/14.html' title='Multiple used in 3 places.'>ascol</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>, <strong class='reserved'>int</strong> <a href='../Y/248.html' title='Multiple used in 4 places.'>wordc</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/250.html' title='Multiple used in 4 places.'>wordv</a>[])
<a id='L95' name='L95'></a><a id='L67' name='L67'></a> 67 <em class='brace'>{</em>
<a id='L96' name='L96'></a><a id='L68' name='L68'></a> 68 <strong class='reserved'>for</strong>(<strong class='reserved'>int</strong> <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a> = 0; <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a> &lt; <a href='../Y/71.html' title='Multiple used in 2 places.'>codecol</a>-<a href='../Y/14.html' title='Multiple used in 3 places.'>ascol</a>; <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a>++)<em class='brace'>{</em>
<a id='L97' name='L97'></a><a id='L69' name='L69'></a> 69 <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, " ");
<a id='L98' name='L98'></a><a id='L70' name='L70'></a> 70 <em class='brace'>}</em>
<a id='L99' name='L99'></a><a id='L71' name='L71'></a> 71 <strong class='reserved'>if</strong>(<a href='../Y/248.html' title='Multiple used in 4 places.'>wordc</a> == 1) <em class='brace'>{</em>
<a id='L100' name='L100'></a><a id='L72' name='L72'></a> 72 <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "; #%04X: #%04X", <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>, <a href='../Y/250.html' title='Multiple used in 4 places.'>wordv</a>[0]);
<a id='L101' name='L101'></a><a id='L73' name='L73'></a> 73 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../Y/248.html' title='Multiple used in 4 places.'>wordc</a> == 2) <em class='brace'>{</em>
<a id='L102' name='L102'></a><a id='L74' name='L74'></a> 74 <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "; #%04X: #%04X #%04X", <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>, <a href='../Y/250.html' title='Multiple used in 4 places.'>wordv</a>[0], <a href='../Y/250.html' title='Multiple used in 4 places.'>wordv</a>[1]);
<a id='L103' name='L103'></a><a id='L75' name='L75'></a> 75 <em class='brace'>}</em>
<a id='L104' name='L104'></a><a id='L76' name='L76'></a> 76 <em class='brace'>}</em>
<a id='L105' name='L105'></a><a id='L77' name='L77'></a> 77
<a id='L106' name='L106'></a><a id='L78' name='L78'></a> 78 <strong class='reserved'>void</strong> <a href='../R/137.html' title='Multiple referred from 2 places.'>disassemble_cmd_adr_x</a>(<a href='../S/23884.html#L102' title='Defined at 102 in include/struct.h.'>CMDTYPE</a> <a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/8.html' title='Multiple used in 72 places.'>adr</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>)
<a id='L107' name='L107'></a><a id='L79' name='L79'></a> 79 <em class='brace'>{</em>
<a id='L108' name='L108'></a><a id='L80' name='L80'></a> 80 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/251.html' title='Multiple used in 9 places.'>x</a> = 0;
<a id='L109' name='L109'></a><a id='L81' name='L81'></a> 81 <strong class='reserved'>char</strong> *<a href='../Y/109.html' title='Multiple used in 9 places.'>g</a> = <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>;
<a id='L110' name='L110'></a><a id='L82' name='L82'></a> 82 <strong class='reserved'>int</strong> <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = 0;
<a id='L111' name='L111'></a><a id='L83' name='L83'></a> 83
<a id='L112' name='L112'></a><a id='L84' name='L84'></a> 84 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> += <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, " %-7s ", <a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a>);
<a id='L113' name='L113'></a><a id='L85' name='L85'></a> 85 <strong class='reserved'>if</strong>(<a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a> == <a href='../S/23884.html#L80' title='Defined at 80 in include/struct.h.'>R_ADR_X</a>) <em class='brace'>{</em>
<a id='L114' name='L114'></a><a id='L86' name='L86'></a> 86 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> += <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "%s,", <a href='../Y/109.html' title='Multiple used in 9 places.'>g</a> = <a href='../S/24351.html#L312' title='Defined at 312 in src/struct.c.'>grstr</a>((<a href='../Y/247.html' title='Multiple used in 44 places.'>word</a> &amp; 0x00F0) &gt;&gt; 4));
<a id='L115' name='L115'></a><a id='L87' name='L87'></a> 87 <a href='../S/23890.html#L22' title='Defined at 22 in include/cmem.h.'>FREE</a>(<a href='../Y/109.html' title='Multiple used in 9 places.'>g</a>);
<a id='L116' name='L116'></a><a id='L88' name='L88'></a> 88 <em class='brace'>}</em>
<a id='L117' name='L117'></a><a id='L89' name='L89'></a> 89 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> += <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "#%04X", <a href='../Y/8.html' title='Multiple used in 72 places.'>adr</a>);
<a id='L118' name='L118'></a><a id='L90' name='L90'></a> 90 <strong class='reserved'>if</strong>((<a href='../Y/251.html' title='Multiple used in 9 places.'>x</a> = (<a href='../Y/247.html' title='Multiple used in 44 places.'>word</a> &amp; 0x000F)) != 0) <em class='brace'>{</em>
<a id='L119' name='L119'></a><a id='L91' name='L91'></a> 91 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> += <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, ",%s", <a href='../Y/109.html' title='Multiple used in 9 places.'>g</a> = <a href='../S/24351.html#L312' title='Defined at 312 in src/struct.c.'>grstr</a>(<a href='../Y/251.html' title='Multiple used in 9 places.'>x</a>));
<a id='L120' name='L120'></a><a id='L92' name='L92'></a> 92 <a href='../S/23890.html#L22' title='Defined at 22 in include/cmem.h.'>FREE</a>(<a href='../Y/109.html' title='Multiple used in 9 places.'>g</a>);
<a id='L121' name='L121'></a><a id='L93' name='L93'></a> 93 <em class='brace'>}</em>
<a id='L122' name='L122'></a><a id='L94' name='L94'></a> 94 <a href='../S/24318.html#L66' title='Defined at 66 in src/disassemble.c.'>disassemble_puts_code</a>(<a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a>, <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>, 2, (<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> [])<em class='brace'>{</em><a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>, <a href='../Y/8.html' title='Multiple used in 72 places.'>adr</a><em class='brace'>}</em>);
<a id='L123' name='L123'></a><a id='L95' name='L95'></a> 95 <em class='brace'>}</em>
<a id='L124' name='L124'></a><a id='L96' name='L96'></a> 96
<a id='L125' name='L125'></a><a id='L97' name='L97'></a> 97 <strong class='reserved'>void</strong> <a href='../R/138.html' title='Multiple referred from 2 places.'>disassemble_cmd_r</a>(<a href='../S/23884.html#L102' title='Defined at 102 in include/struct.h.'>CMDTYPE</a> <a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>)
<a id='L126' name='L126'></a><a id='L98' name='L98'></a> 98 <em class='brace'>{</em>
<a id='L127' name='L127'></a><a id='L99' name='L99'></a> 99 <strong class='reserved'>char</strong> *<a href='../Y/109.html' title='Multiple used in 9 places.'>g</a> = <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>;
<a id='L128' name='L128'></a><a id='L100' name='L100'></a> 100 <strong class='reserved'>char</strong> *<a href='../Y/110.html' title='Multiple used in 4 places.'>g1</a> = <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>;
<a id='L129' name='L129'></a><a id='L101' name='L101'></a> 101 <strong class='reserved'>char</strong> *<a href='../Y/111.html' title='Multiple used in 4 places.'>g2</a> = <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>;
<a id='L130' name='L130'></a><a id='L102' name='L102'></a> 102 <strong class='reserved'>int</strong> <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = 0;
<a id='L131' name='L131'></a><a id='L103' name='L103'></a> 103
<a id='L132' name='L132'></a><a id='L104' name='L104'></a> 104 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> += <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, " %-7s ", <a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a>);
<a id='L133' name='L133'></a><a id='L105' name='L105'></a> 105 <strong class='reserved'>if</strong>(<a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a> == <a href='../S/23884.html#L86' title='Defined at 86 in include/struct.h.'>R1_R2</a>) <em class='brace'>{</em>
<a id='L134' name='L134'></a><a id='L106' name='L106'></a> 106 <a href='../Y/110.html' title='Multiple used in 4 places.'>g1</a> = <a href='../S/24351.html#L312' title='Defined at 312 in src/struct.c.'>grstr</a>((<a href='../Y/247.html' title='Multiple used in 44 places.'>word</a> &amp; 0x00F0) &gt;&gt; 4);
<a id='L135' name='L135'></a><a id='L107' name='L107'></a> 107 <a href='../Y/111.html' title='Multiple used in 4 places.'>g2</a> = <a href='../S/24351.html#L312' title='Defined at 312 in src/struct.c.'>grstr</a>(<a href='../Y/247.html' title='Multiple used in 44 places.'>word</a> &amp; 0x000F);
<a id='L136' name='L136'></a><a id='L108' name='L108'></a> 108 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> += <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "%s,%s", <a href='../Y/110.html' title='Multiple used in 4 places.'>g1</a>, <a href='../Y/111.html' title='Multiple used in 4 places.'>g2</a>);
<a id='L137' name='L137'></a><a id='L109' name='L109'></a> 109 <a href='../S/23890.html#L22' title='Defined at 22 in include/cmem.h.'>FREE</a>(<a href='../Y/110.html' title='Multiple used in 4 places.'>g1</a>);
<a id='L138' name='L138'></a><a id='L110' name='L110'></a> 110 <a href='../S/23890.html#L22' title='Defined at 22 in include/cmem.h.'>FREE</a>(<a href='../Y/111.html' title='Multiple used in 4 places.'>g2</a>);
<a id='L139' name='L139'></a><a id='L111' name='L111'></a> 111 <em class='brace'>}</em> <strong class='reserved'>else</strong> <strong class='reserved'>if</strong>(<a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a> == <a href='../S/23884.html#L97' title='Defined at 97 in include/struct.h.'>R_</a>) <em class='brace'>{</em>
<a id='L140' name='L140'></a><a id='L112' name='L112'></a> 112 <a href='../Y/109.html' title='Multiple used in 9 places.'>g</a> = <a href='../S/24351.html#L312' title='Defined at 312 in src/struct.c.'>grstr</a>((<a href='../Y/247.html' title='Multiple used in 44 places.'>word</a> &amp; 0x00F0) &gt;&gt; 4);
<a id='L141' name='L141'></a><a id='L113' name='L113'></a> 113 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> += <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "%s", <a href='../Y/109.html' title='Multiple used in 9 places.'>g</a>);
<a id='L142' name='L142'></a><a id='L114' name='L114'></a> 114 <a href='../S/23890.html#L22' title='Defined at 22 in include/cmem.h.'>FREE</a>(<a href='../Y/109.html' title='Multiple used in 9 places.'>g</a>);
<a id='L143' name='L143'></a><a id='L115' name='L115'></a> 115 <em class='brace'>}</em>
<a id='L144' name='L144'></a><a id='L116' name='L116'></a> 116 <a href='../S/24318.html#L66' title='Defined at 66 in src/disassemble.c.'>disassemble_puts_code</a>(<a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a>, <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>, 1, (<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> [])<em class='brace'>{</em><a href='../Y/247.html' title='Multiple used in 44 places.'>word</a><em class='brace'>}</em>);
<a id='L145' name='L145'></a><a id='L117' name='L117'></a> 117 <em class='brace'>}</em>
<a id='L146' name='L146'></a><a id='L118' name='L118'></a> 118
<a id='L147' name='L147'></a><a id='L119' name='L119'></a> 119 <strong class='reserved'>void</strong> <a href='../R/139.html' title='Multiple referred from 2 places.'>disassemble_dc</a>(<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>)
<a id='L148' name='L148'></a><a id='L120' name='L120'></a> 120 <em class='brace'>{</em>
<a id='L149' name='L149'></a><a id='L121' name='L121'></a> 121 <strong class='reserved'>int</strong> <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = 0;
<a id='L150' name='L150'></a><a id='L122' name='L122'></a> 122
<a id='L151' name='L151'></a><a id='L123' name='L123'></a> 123 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, " DC %-5d ", <a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>);
<a id='L152' name='L152'></a><a id='L124' name='L124'></a> 124 <a href='../S/24318.html#L66' title='Defined at 66 in src/disassemble.c.'>disassemble_puts_code</a>(<a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a>, <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>, 1, (<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> [])<em class='brace'>{</em><a href='../Y/247.html' title='Multiple used in 44 places.'>word</a><em class='brace'>}</em>);
<a id='L153' name='L153'></a><a id='L125' name='L125'></a> 125 <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, " ::" );
<a id='L154' name='L154'></a><a id='L126' name='L126'></a> 126 <a href='../S/24330.html#L137' title='Defined at 137 in src/word.c.'>print_dumpword</a>(<a href='../Y/247.html' title='Multiple used in 44 places.'>word</a>, <a href='../Y/237.html' title='Multiple used in 89 places.'>true</a>);
<a id='L155' name='L155'></a><a id='L127' name='L127'></a> 127 <em class='brace'>}</em>
<a id='L156' name='L156'></a><a id='L128' name='L128'></a> 128
<a id='L157' name='L157'></a><a id='L129' name='L129'></a> 129 <strong class='reserved'>void</strong> <a href='../S/24318.html#L203' title='Referred from 203 in src/disassemble.c.'>disassemble_ds</a>(<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/245.html' title='Multiple used in 3 places.'>wcnt</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>)
<a id='L158' name='L158'></a><a id='L130' name='L130'></a> 130 <em class='brace'>{</em>
<a id='L159' name='L159'></a><a id='L131' name='L131'></a> 131 <strong class='reserved'>int</strong> <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = 0;
<a id='L160' name='L160'></a><a id='L132' name='L132'></a> 132
<a id='L161' name='L161'></a><a id='L133' name='L133'></a> 133 <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, " DS %-5d ", <a href='../Y/245.html' title='Multiple used in 3 places.'>wcnt</a>);
<a id='L162' name='L162'></a><a id='L134' name='L134'></a> 134 <a href='../S/24318.html#L66' title='Defined at 66 in src/disassemble.c.'>disassemble_puts_code</a>(<a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a>, <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>, 1, (<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> [])<em class='brace'>{</em>0<em class='brace'>}</em>);
<a id='L163' name='L163'></a><a id='L135' name='L135'></a> 135 <strong class='reserved'>for</strong>(<strong class='reserved'>int</strong> <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a> = 1; <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a> &lt; <a href='../Y/245.html' title='Multiple used in 3 places.'>wcnt</a>; <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a>++) <em class='brace'>{</em>
<a id='L164' name='L164'></a><a id='L136' name='L136'></a> 136 <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "\n");
<a id='L165' name='L165'></a><a id='L137' name='L137'></a> 137 <a href='../S/24318.html#L66' title='Defined at 66 in src/disassemble.c.'>disassemble_puts_code</a>(0, <a href='../Y/179.html' title='Multiple used in 16 places.'>pradr</a>+<a href='../Y/118.html' title='Multiple used in 213 places.'>i</a>, 1, (<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> [])<em class='brace'>{</em>0<em class='brace'>}</em>);
<a id='L166' name='L166'></a><a id='L138' name='L138'></a> 138 <em class='brace'>}</em>
<a id='L167' name='L167'></a><a id='L139' name='L139'></a> 139 <em class='brace'>}</em>
<a id='L168' name='L168'></a><a id='L140' name='L140'></a> 140
<a id='L169' name='L169'></a><a id='L141' name='L141'></a> 141 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../R/148.html' title='Multiple referred from 2 places.'>fgetword</a>(<a href='../Y/2.html' title='Multiple used in 12 places.'>FILE</a> *<a href='../Y/219.html' title='Multiple used in 6 places.'>stream</a>)
<a id='L170' name='L170'></a><a id='L142' name='L142'></a> 142 <em class='brace'>{</em>
<a id='L171' name='L171'></a><a id='L143' name='L143'></a> 143 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/23.html' title='Multiple used in 3 places.'>aword</a>;
<a id='L172' name='L172'></a><a id='L144' name='L144'></a> 144 <a href='../Y/106.html' title='Multiple used in 2 places.'>fread</a>(&amp;<a href='../Y/23.html' title='Multiple used in 3 places.'>aword</a>, <strong class='reserved'>sizeof</strong>(<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a>), 1, <a href='../Y/219.html' title='Multiple used in 6 places.'>stream</a>);
<a id='L173' name='L173'></a><a id='L145' name='L145'></a> 145 <strong class='reserved'>return</strong> <a href='../Y/23.html' title='Multiple used in 3 places.'>aword</a>;
<a id='L174' name='L174'></a><a id='L146' name='L146'></a> 146 <em class='brace'>}</em>
<a id='L175' name='L175'></a><a id='L147' name='L147'></a> 147
<a id='L176' name='L176'></a><a id='L148' name='L148'></a> 148 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../R/247.html' title='Multiple referred from 2 places.'>zero_data_cnt</a>(<strong class='reserved'>const</strong> <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> *<a href='../Y/79.html' title='Multiple used in 3 places.'>data</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/249.html' title='Multiple used in 6 places.'>wordlen</a>)
<a id='L177' name='L177'></a><a id='L149' name='L149'></a> 149 <em class='brace'>{</em>
<a id='L178' name='L178'></a><a id='L150' name='L150'></a> 150 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = 0;
<a id='L179' name='L179'></a><a id='L151' name='L151'></a> 151 <strong class='reserved'>for</strong>(<a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> = 0; <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a> &lt; <a href='../Y/249.html' title='Multiple used in 6 places.'>wordlen</a> &amp;&amp; <a href='../Y/79.html' title='Multiple used in 3 places.'>data</a>[<a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a>] == 0; <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a>++) <em class='brace'>{</em>
<a id='L180' name='L180'></a><a id='L152' name='L152'></a> 152 ;
<a id='L181' name='L181'></a><a id='L153' name='L153'></a> 153 <em class='brace'>}</em>
<a id='L182' name='L182'></a><a id='L154' name='L154'></a> 154 <strong class='reserved'>return</strong> <a href='../Y/68.html' title='Multiple used in 30 places.'>cnt</a>;
<a id='L183' name='L183'></a><a id='L155' name='L155'></a> 155 <em class='brace'>}</em>
<a id='L184' name='L184'></a><a id='L156' name='L156'></a> 156
<a id='L185' name='L185'></a><a id='L157' name='L157'></a> 157 <strong class='reserved'>void</strong> <a href='../R/141.html' title='Multiple referred from 2 places.'>disassemble_file</a>(<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/98.html' title='Multiple used in 21 places.'>file</a>)
<a id='L186' name='L186'></a><a id='L158' name='L158'></a> 158 <em class='brace'>{</em>
<a id='L187' name='L187'></a><a id='L159' name='L159'></a> 159 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> *<a href='../Y/29.html' title='Multiple used in 25 places.'>buf</a> = <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>;
<a id='L188' name='L188'></a><a id='L160' name='L160'></a> 160 <strong class='reserved'>int</strong> <a href='../Y/133.html' title='Multiple used in 11 places.'>len</a> = 0;
<a id='L189' name='L189'></a><a id='L161' name='L161'></a> 161 <a href='../Y/2.html' title='Multiple used in 12 places.'>FILE</a> *<a href='../Y/103.html' title='Multiple used in 33 places.'>fp</a> = <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>;
<a id='L190' name='L190'></a><a id='L162' name='L162'></a> 162
<a id='L191' name='L191'></a><a id='L163' name='L163'></a> 163 <a href='../Y/21.html' title='Multiple used in 24 places.'>assert</a>(<a href='../Y/98.html' title='Multiple used in 21 places.'>file</a> != <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>);
<a id='L192' name='L192'></a><a id='L164' name='L164'></a> 164 <strong class='reserved'>if</strong>((<a href='../Y/103.html' title='Multiple used in 33 places.'>fp</a> = <a href='../Y/102.html' title='Multiple used in 8 places.'>fopen</a>(<a href='../Y/98.html' title='Multiple used in 21 places.'>file</a>, "rb")) == <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>) <em class='brace'>{</em>
<a id='L193' name='L193'></a><a id='L165' name='L165'></a> 165 <a href='../Y/177.html' title='Multiple used in 8 places.'>perror</a>(<a href='../Y/98.html' title='Multiple used in 21 places.'>file</a>);
<a id='L194' name='L194'></a><a id='L166' name='L166'></a> 166 <strong class='reserved'>return</strong>;
<a id='L195' name='L195'></a><a id='L167' name='L167'></a> 167 <em class='brace'>}</em>
<a id='L196' name='L196'></a><a id='L168' name='L168'></a> 168
<a id='L197' name='L197'></a><a id='L169' name='L169'></a> 169 <a href='../Y/29.html' title='Multiple used in 25 places.'>buf</a> = <a href='../S/24333.html#L34' title='Defined at 34 in src/cmem.c.'>calloc_chk</a>(<a href='../S/23884.html#L20' title='Defined at 20 in include/struct.h.'>MAX_MEMSIZE</a>, <strong class='reserved'>sizeof</strong>(<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a>), "disassemble_file");
<a id='L198' name='L198'></a><a id='L170' name='L170'></a> 170 <strong class='reserved'>for</strong>(<strong class='reserved'>int</strong> <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a> = 0; !feof(<a href='../Y/103.html' title='Multiple used in 33 places.'>fp</a>) &amp;&amp; <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a> &lt; <a href='../S/23884.html#L20' title='Defined at 20 in include/struct.h.'>MAX_MEMSIZE</a>; <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a>++) <em class='brace'>{</em>
<a id='L199' name='L199'></a><a id='L171' name='L171'></a> 171 <a href='../Y/29.html' title='Multiple used in 25 places.'>buf</a>[<a href='../Y/118.html' title='Multiple used in 213 places.'>i</a>] = <a href='../S/24318.html#L141' title='Defined at 141 in src/disassemble.c.'>fgetword</a>(<a href='../Y/103.html' title='Multiple used in 33 places.'>fp</a>);
<a id='L200' name='L200'></a><a id='L172' name='L172'></a> 172 <a href='../Y/133.html' title='Multiple used in 11 places.'>len</a> = <a href='../Y/118.html' title='Multiple used in 213 places.'>i</a> - 1;
<a id='L201' name='L201'></a><a id='L173' name='L173'></a> 173 <em class='brace'>}</em>
<a id='L202' name='L202'></a><a id='L174' name='L174'></a> 174 <a href='../Y/95.html' title='Multiple used in 8 places.'>fclose</a>(<a href='../Y/103.html' title='Multiple used in 33 places.'>fp</a>);
<a id='L203' name='L203'></a><a id='L175' name='L175'></a> 175 <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "MAIN START\n");
<a id='L204' name='L204'></a><a id='L176' name='L176'></a> 176 <a href='../S/24318.html#L180' title='Defined at 180 in src/disassemble.c.'>disassemble_memory</a>(<a href='../Y/29.html' title='Multiple used in 25 places.'>buf</a>, 0, <a href='../Y/133.html' title='Multiple used in 11 places.'>len</a>);
<a id='L205' name='L205'></a><a id='L177' name='L177'></a> 177 <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, " END\n");
<a id='L206' name='L206'></a><a id='L178' name='L178'></a> 178 <em class='brace'>}</em>
<a id='L207' name='L207'></a><a id='L179' name='L179'></a> 179
<a id='L208' name='L208'></a><a id='L180' name='L180'></a> 180 <strong class='reserved'>void</strong> <a href='../R/142.html' title='Multiple referred from 6 places.'>disassemble_memory</a>(<a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> *<a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/203.html' title='Multiple used in 21 places.'>start</a>, <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/86.html' title='Multiple used in 29 places.'>end</a>)
<a id='L209' name='L209'></a><a id='L181' name='L181'></a> 181 <em class='brace'>{</em>
<a id='L210' name='L210'></a><a id='L182' name='L182'></a> 182 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/59.html' title='Multiple used in 90 places.'>cmd</a> = 0;
<a id='L211' name='L211'></a><a id='L183' name='L183'></a> 183 <a href='../S/23884.html#L102' title='Defined at 102 in include/struct.h.'>CMDTYPE</a> <a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a> = 0;
<a id='L212' name='L212'></a><a id='L184' name='L184'></a> 184 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a> = <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a>;
<a id='L213' name='L213'></a><a id='L185' name='L185'></a> 185 <a href='../Y/26.html' title='Multiple used in 56 places.'>bool</a> <a href='../Y/119.html' title='Multiple used in 3 places.'>inprogram</a> = <a href='../Y/237.html' title='Multiple used in 89 places.'>true</a>;
<a id='L214' name='L214'></a><a id='L186' name='L186'></a> 186 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/253.html' title='Multiple used in 4 places.'>zcnt</a> = 0;
<a id='L215' name='L215'></a><a id='L187' name='L187'></a> 187
<a id='L216' name='L216'></a><a id='L188' name='L188'></a> 188 <a href='../S/23891.html#L9' title='Defined at 9 in include/word.h.'>WORD</a> <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a> = <a href='../Y/203.html' title='Multiple used in 21 places.'>start</a>;
<a id='L217' name='L217'></a><a id='L189' name='L189'></a> 189 <strong class='reserved'>while</strong>(<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a> &lt;= <a href='../Y/86.html' title='Multiple used in 29 places.'>end</a>) <em class='brace'>{</em>
<a id='L218' name='L218'></a><a id='L190' name='L190'></a> 190 <a href='../Y/59.html' title='Multiple used in 90 places.'>cmd</a> = <a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>[<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>] &amp; 0xFF00;
<a id='L219' name='L219'></a><a id='L191' name='L191'></a> 191 <a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a> = <a href='../S/24351.html#L252' title='Defined at 252 in src/struct.c.'>getcmdname</a>(<a href='../Y/59.html' title='Multiple used in 90 places.'>cmd</a>);
<a id='L220' name='L220'></a><a id='L192' name='L192'></a> 192 <a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a> = <a href='../S/24351.html#L235' title='Defined at 235 in src/struct.c.'>getcmdtype</a>(<a href='../Y/59.html' title='Multiple used in 90 places.'>cmd</a>);
<a id='L221' name='L221'></a><a id='L193' name='L193'></a> 193 <strong class='reserved'>if</strong>((<a href='../Y/59.html' title='Multiple used in 90 places.'>cmd</a> &gt; 0 &amp;&amp; <a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a> != <a href='../Y/4.html' title='Multiple used in 211 places.'>NULL</a> &amp;&amp; <a href='../S/24351.html#L269' title='Defined at 269 in src/struct.c.'>code_gr_valid</a>(<a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>[<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>]) == <a href='../Y/237.html' title='Multiple used in 89 places.'>true</a>) || (<a href='../Y/119.html' title='Multiple used in 3 places.'>inprogram</a> == <a href='../Y/237.html' title='Multiple used in 89 places.'>true</a> &amp;&amp; <a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>[<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>] == 0)) <em class='brace'>{</em>
<a id='L222' name='L222'></a><a id='L194' name='L194'></a> 194 <strong class='reserved'>if</strong>(<a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a> == <a href='../S/23884.html#L80' title='Defined at 80 in include/struct.h.'>R_ADR_X</a> || <a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a> == <a href='../S/23884.html#L92' title='Defined at 92 in include/struct.h.'>ADR_X</a>) <em class='brace'>{</em>
<a id='L223' name='L223'></a><a id='L195' name='L195'></a> 195 <a href='../S/24318.html#L78' title='Defined at 78 in src/disassemble.c.'>disassemble_cmd_adr_x</a>(<a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a>, <a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a>, <a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>[<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>], <a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>[<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a> + 1], <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>);
<a id='L224' name='L224'></a><a id='L196' name='L196'></a> 196 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em>
<a id='L225' name='L225'></a><a id='L197' name='L197'></a> 197 <a href='../S/24318.html#L97' title='Defined at 97 in src/disassemble.c.'>disassemble_cmd_r</a>(<a href='../Y/66.html' title='Multiple used in 25 places.'>cmdtype</a>, <a href='../Y/62.html' title='Multiple used in 11 places.'>cmdname</a>, <a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>[<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>], <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>);
<a id='L226' name='L226'></a><a id='L198' name='L198'></a> 198 <em class='brace'>}</em>
<a id='L227' name='L227'></a><a id='L199' name='L199'></a> 199 <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a> += <a href='../S/24351.html#L294' title='Defined at 294 in src/struct.c.'>code2cmdwordlen</a>(<a href='../Y/59.html' title='Multiple used in 90 places.'>cmd</a>);
<a id='L228' name='L228'></a><a id='L200' name='L200'></a> 200 <a href='../Y/119.html' title='Multiple used in 3 places.'>inprogram</a> = (<a href='../Y/59.html' title='Multiple used in 90 places.'>cmd</a> != 0x8100) ? <a href='../Y/237.html' title='Multiple used in 89 places.'>true</a> : <a href='../Y/94.html' title='Multiple used in 58 places.'>false</a>;
<a id='L229' name='L229'></a><a id='L201' name='L201'></a> 201 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em>
<a id='L230' name='L230'></a><a id='L202' name='L202'></a> 202 <strong class='reserved'>if</strong>(<a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>[<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>] == 0 &amp;&amp; ((<a href='../Y/253.html' title='Multiple used in 4 places.'>zcnt</a> = <a href='../S/24318.html#L148' title='Defined at 148 in src/disassemble.c.'>zero_data_cnt</a>(<a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a> + <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>, <a href='../Y/86.html' title='Multiple used in 29 places.'>end</a> - <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a> + 1)) &gt; 1 || <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a> == <a href='../Y/86.html' title='Multiple used in 29 places.'>end</a>)) <em class='brace'>{</em> <em class='comment'>/* 0が2つ以上の場合とメモリー末尾の場合は、DSとみなす */</em>
<a id='L231' name='L231'></a><a id='L203' name='L203'></a> 203 <a href='../S/24318.html#L129' title='Defined at 129 in src/disassemble.c.'>disassemble_ds</a>(<a href='../Y/253.html' title='Multiple used in 4 places.'>zcnt</a>, <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>);
<a id='L232' name='L232'></a><a id='L204' name='L204'></a> 204 <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a> += <a href='../Y/253.html' title='Multiple used in 4 places.'>zcnt</a>;
<a id='L233' name='L233'></a><a id='L205' name='L205'></a> 205 <em class='brace'>}</em> <strong class='reserved'>else</strong> <em class='brace'>{</em>
<a id='L234' name='L234'></a><a id='L206' name='L206'></a> 206 <a href='../S/24318.html#L119' title='Defined at 119 in src/disassemble.c.'>disassemble_dc</a>(<a href='../Y/147.html' title='Multiple used in 69 places.'>memory</a>[<a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>], <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>);
<a id='L235' name='L235'></a><a id='L207' name='L207'></a> 207 <a href='../Y/182.html' title='Multiple used in 36 places.'>ptr</a>++;
<a id='L236' name='L236'></a><a id='L208' name='L208'></a> 208 <em class='brace'>}</em>
<a id='L237' name='L237'></a><a id='L209' name='L209'></a> 209 <em class='brace'>}</em>
<a id='L238' name='L238'></a><a id='L210' name='L210'></a> 210 <a href='../Y/104.html' title='Multiple used in 122 places.'>fprintf</a>(<a href='../Y/208.html' title='Multiple used in 94 places.'>stdout</a>, "\n");
<a id='L239' name='L239'></a><a id='L211' name='L211'></a> 211 <em class='brace'>}</em>
<a id='L240' name='L240'></a><a id='L212' name='L212'></a> 212 <em class='brace'>}</em>
<a id='L241' name='L241'></a></pre>
<a id='L242' name='L242'></a><hr />
<a id='L243' name='L243'></a><a id='BOTTOM' name='BOTTOM'></a>
<a id='L244' name='L244'></a><em class='comment'>/* [&lt;][&gt;]<a href='#L66'>[^]</a><a href='#L180'>[v]</a><a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
<a id='L245' name='L245'></a></body>
<a id='L246' name='L246'></a></html>
</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>