<!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/doxygen/latex/assemble_8h.tex</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/2927.html'>doc_inner</a>/<a href='../files/2928.html'>doxygen</a>/<a href='../files/2929.html'>latex</a>/assemble_8h.tex</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>\doxysection{include/assemble.h File Reference} <a id='L2' name='L2'></a>\label{assemble_8h}\index{include/assemble.h@{include/assemble.h}} <a id='L3' name='L3'></a>{\ttfamily \#include $<$stdio.\+h$>$}\newline <a id='L4' name='L4'></a>{\ttfamily \#include $<$stdlib.\+h$>$}\newline <a id='L5' name='L5'></a>{\ttfamily \#include $<$string.\+h$>$}\newline <a id='L6' name='L6'></a>{\ttfamily \#include $<$stdbool.\+h$>$}\newline <a id='L7' name='L7'></a>{\ttfamily \#include $<$ctype.\+h$>$}\newline <a id='L8' name='L8'></a>{\ttfamily \#include $<$assert.\+h$>$}\newline <a id='L9' name='L9'></a>{\ttfamily \#include $<$errno.\+h$>$}\newline <a id='L10' name='L10'></a>{\ttfamily \#include \char`\"{}cerr.\+h\char`\"{}}\newline <a id='L11' name='L11'></a>{\ttfamily \#include \char`\"{}struct.\+h\char`\"{}}\newline <a id='L12' name='L12'></a>{\ttfamily \#include \char`\"{}token.\+h\char`\"{}}\newline <a id='L13' name='L13'></a>Include dependency graph for assemble.\+h\+: <a id='L14' name='L14'></a>\nopagebreak <a id='L15' name='L15'></a>\begin{figure}[H] <a id='L16' name='L16'></a>\begin{center} <a id='L17' name='L17'></a>\leavevmode <a id='L18' name='L18'></a>\includegraphics[width=350pt]{assemble_8h__incl} <a id='L19' name='L19'></a>\end{center} <a id='L20' name='L20'></a>\end{figure} <a id='L21' name='L21'></a>This graph shows which files directly or indirectly include this file\+: <a id='L22' name='L22'></a>\nopagebreak <a id='L23' name='L23'></a>\begin{figure}[H] <a id='L24' name='L24'></a>\begin{center} <a id='L25' name='L25'></a>\leavevmode <a id='L26' name='L26'></a>\includegraphics[width=350pt]{assemble_8h__dep__incl} <a id='L27' name='L27'></a>\end{center} <a id='L28' name='L28'></a>\end{figure} <a id='L29' name='L29'></a>\doxysubsection*{Data Structures} <a id='L30' name='L30'></a>\begin{DoxyCompactItemize} <a id='L31' name='L31'></a>\item <a id='L32' name='L32'></a>struct \textbf{ ASMODE} <a id='L33' name='L33'></a>\begin{DoxyCompactList}\small\item\em アセンブルモードを表すデータ型 \end{DoxyCompactList}\item <a id='L34' name='L34'></a>struct \textbf{ ASPTR} <a id='L35' name='L35'></a>\begin{DoxyCompactList}\small\item\em アセンブル時の現在およびリテラルのアドレスとプログラム入口名を表すデータ型 \end{DoxyCompactList}\item <a id='L36' name='L36'></a>struct \textbf{ LABELARRAY} <a id='L37' name='L37'></a>\begin{DoxyCompactList}\small\item\em ラベル配列を表すデータ型 \end{DoxyCompactList}\item <a id='L38' name='L38'></a>struct \textbf{ \+\_\+\+LABELTAB} <a id='L39' name='L39'></a>\begin{DoxyCompactList}\small\item\em ラベル表を表すデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L40' name='L40'></a>\doxysubsection*{Typedefs} <a id='L41' name='L41'></a>\begin{DoxyCompactItemize} <a id='L42' name='L42'></a>\item <a id='L43' name='L43'></a>typedef struct \textbf{ \+\_\+\+LABELTAB} \textbf{ LABELTAB} <a id='L44' name='L44'></a>\begin{DoxyCompactList}\small\item\em ラベル表を表すデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L45' name='L45'></a>\doxysubsection*{Enumerations} <a id='L46' name='L46'></a>\begin{DoxyCompactItemize} <a id='L47' name='L47'></a>\item <a id='L48' name='L48'></a>enum \{ \textbf{ LABELTABSIZE} = 251 <a id='L49' name='L49'></a> \} <a id='L50' name='L50'></a>\item <a id='L51' name='L51'></a>enum \textbf{ PASS} \{ \textbf{ FIRST} = 0 <a id='L52' name='L52'></a>, \textbf{ SECOND} = 1 <a id='L53' name='L53'></a> \} <a id='L54' name='L54'></a>\begin{DoxyCompactList}\small\item\em アセンブラが、1回目か2回目かを表す数値 \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L55' name='L55'></a>\doxysubsection*{Functions} <a id='L56' name='L56'></a>\begin{DoxyCompactItemize} <a id='L57' name='L57'></a>\item <a id='L58' name='L58'></a>void \textbf{ addcerrlist\+\_\+label} () <a id='L59' name='L59'></a>\begin{DoxyCompactList}\small\item\em ラベルのエラーをエラーリストに追加する \end{DoxyCompactList}\item <a id='L60' name='L60'></a>\textbf{ WORD} \textbf{ getlabel} (const char $\ast$prog, const char $\ast$label) <a id='L61' name='L61'></a>\begin{DoxyCompactList}\small\item\em プログラム名とラベルに対応するアドレスをラベル表から検索する \end{DoxyCompactList}\item <a id='L62' name='L62'></a>bool \textbf{ addlabel} (const char $\ast$prog, const char $\ast$label, \textbf{ WORD} adr) <a id='L63' name='L63'></a>\begin{DoxyCompactList}\small\item\em プログラム名、ラベル、アドレスをラベル表に追加する \end{DoxyCompactList}\item <a id='L64' name='L64'></a>void \textbf{ printlabel} () <a id='L65' name='L65'></a>\begin{DoxyCompactList}\small\item\em ラベル表を表示する \end{DoxyCompactList}\item <a id='L66' name='L66'></a>void \textbf{ freelabel} () <a id='L67' name='L67'></a>\begin{DoxyCompactList}\small\item\em ラベル表を解放する \end{DoxyCompactList}\item <a id='L68' name='L68'></a>void \textbf{ addcerrlist\+\_\+assemble} () <a id='L69' name='L69'></a>\begin{DoxyCompactList}\small\item\em アセンブルエラーをエラーリストに追加する \end{DoxyCompactList}\item <a id='L70' name='L70'></a>bool \textbf{ assemblefile} (const char $\ast$file, \textbf{ PASS} pass) <a id='L71' name='L71'></a>\begin{DoxyCompactList}\small\item\em 指定された名前のファイルをアセンブル~\newline <a id='L72' name='L72'></a>\end{DoxyCompactList}\item <a id='L73' name='L73'></a>bool \textbf{ assemble} (int filec, char $\ast$filev[$\,$], \textbf{ WORD} adr) <a id='L74' name='L74'></a>\begin{DoxyCompactList}\small\item\em 指定された1つまたは複数のファイルを2回アセンブル \end{DoxyCompactList}\item <a id='L75' name='L75'></a>void \textbf{ outassemble} (const char $\ast$file) <a id='L76' name='L76'></a>\begin{DoxyCompactList}\small\item\em ファイルにアセンブル結果を書き込む \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L77' name='L77'></a>\doxysubsection*{Variables} <a id='L78' name='L78'></a>\begin{DoxyCompactItemize} <a id='L79' name='L79'></a>\item <a id='L80' name='L80'></a>\textbf{ ASMODE} \textbf{ asmode} <a id='L81' name='L81'></a>\begin{DoxyCompactList}\small\item\em アセンブルモード\+: src, label, onlylabel, asdetail, onlyassemble \end{DoxyCompactList}\item <a id='L82' name='L82'></a>\textbf{ ASPTR} $\ast$ \textbf{ asptr} <a id='L83' name='L83'></a>\begin{DoxyCompactList}\small\item\em アセンブル時の、現在およびリテラルのアドレスとプログラム入口名\+: ptr, lptr, prog \end{DoxyCompactList}\end{DoxyCompactItemize} <a id='L84' name='L84'></a> <a id='L85' name='L85'></a> <a id='L86' name='L86'></a>\doxysubsection{Typedef Documentation} <a id='L87' name='L87'></a>\mbox{\label{assemble_8h_ae72bd4e8cf3b014ba43b833cbd959b9e}} <a id='L88' name='L88'></a>\index{assemble.h@{assemble.h}!LABELTAB@{LABELTAB}} <a id='L89' name='L89'></a>\index{LABELTAB@{LABELTAB}!assemble.h@{assemble.h}} <a id='L90' name='L90'></a>\doxysubsubsection{LABELTAB} <a id='L91' name='L91'></a>{\footnotesize\ttfamily typedef struct \textbf{ \+\_\+\+LABELTAB} \textbf{ LABELTAB}} <a id='L92' name='L92'></a> <a id='L93' name='L93'></a> <a id='L94' name='L94'></a> <a id='L95' name='L95'></a>ラベル表を表すデータ型 <a id='L96' name='L96'></a> <a id='L97' name='L97'></a> <a id='L98' name='L98'></a> <a id='L99' name='L99'></a>\doxysubsection{Enumeration Type Documentation} <a id='L100' name='L100'></a>\mbox{\label{assemble_8h_a06fc87d81c62e9abb8790b6e5713c55b}} <a id='L101' name='L101'></a>\doxysubsubsection{anonymous enum} <a id='L102' name='L102'></a>{\footnotesize\ttfamily anonymous enum} <a id='L103' name='L103'></a> <a id='L104' name='L104'></a>ラベル表のサイズ \begin{DoxyEnumFields}{Enumerator} <a id='L105' name='L105'></a>\raisebox{\heightof{T}}[0pt][0pt]{\index{LABELTABSIZE@{LABELTABSIZE}!assemble.h@{assemble.h}}\index{assemble.h@{assemble.h}!LABELTABSIZE@{LABELTABSIZE}}}\mbox{\label{assemble_8h_a06fc87d81c62e9abb8790b6e5713c55ba487434bbfd59d4151f9a4debf56f0908}} <a id='L106' name='L106'></a>LABELTABSIZE&ラベル表のサイズ \\ <a id='L107' name='L107'></a>\hline <a id='L108' name='L108'></a> <a id='L109' name='L109'></a>\end{DoxyEnumFields} <a id='L110' name='L110'></a> <a id='L111' name='L111'></a> <a id='L112' name='L112'></a>Definition at line 65 of file assemble.\+h. <a id='L113' name='L113'></a> <a id='L114' name='L114'></a>\mbox{\label{assemble_8h_a0a1d55e200c1b9a323e22e634842de6f}} <a id='L115' name='L115'></a>\index{assemble.h@{assemble.h}!PASS@{PASS}} <a id='L116' name='L116'></a>\index{PASS@{PASS}!assemble.h@{assemble.h}} <a id='L117' name='L117'></a>\doxysubsubsection{PASS} <a id='L118' name='L118'></a>{\footnotesize\ttfamily enum \textbf{ PASS}} <a id='L119' name='L119'></a> <a id='L120' name='L120'></a> <a id='L121' name='L121'></a> <a id='L122' name='L122'></a>アセンブラが、1回目か2回目かを表す数値 <a id='L123' name='L123'></a> <a id='L124' name='L124'></a>\begin{DoxyEnumFields}{Enumerator} <a id='L125' name='L125'></a>\raisebox{\heightof{T}}[0pt][0pt]{\index{FIRST@{FIRST}!assemble.h@{assemble.h}}\index{assemble.h@{assemble.h}!FIRST@{FIRST}}}\mbox{\label{assemble_8h_a0a1d55e200c1b9a323e22e634842de6fa6a7856cca1833641e731676636b193f1}} <a id='L126' name='L126'></a>FIRST&アセンブラ1回目 \\ <a id='L127' name='L127'></a>\hline <a id='L128' name='L128'></a> <a id='L129' name='L129'></a>\raisebox{\heightof{T}}[0pt][0pt]{\index{SECOND@{SECOND}!assemble.h@{assemble.h}}\index{assemble.h@{assemble.h}!SECOND@{SECOND}}}\mbox{\label{assemble_8h_a0a1d55e200c1b9a323e22e634842de6fa7cb36ff0a80f238d5b987d9250d369e3}} <a id='L130' name='L130'></a>SECOND&アセンブラ2回目 \\ <a id='L131' name='L131'></a>\hline <a id='L132' name='L132'></a> <a id='L133' name='L133'></a>\end{DoxyEnumFields} <a id='L134' name='L134'></a> <a id='L135' name='L135'></a> <a id='L136' name='L136'></a>Definition at line 72 of file assemble.\+h. <a id='L137' name='L137'></a> <a id='L138' name='L138'></a> <a id='L139' name='L139'></a> <a id='L140' name='L140'></a>\doxysubsection{Function Documentation} <a id='L141' name='L141'></a>\mbox{\label{assemble_8h_abeec7aeba384ae8621167386e0f3e2e9}} <a id='L142' name='L142'></a>\index{assemble.h@{assemble.h}!addcerrlist\_assemble@{addcerrlist\_assemble}} <a id='L143' name='L143'></a>\index{addcerrlist\_assemble@{addcerrlist\_assemble}!assemble.h@{assemble.h}} <a id='L144' name='L144'></a>\doxysubsubsection{addcerrlist\_assemble()} <a id='L145' name='L145'></a>{\footnotesize\ttfamily void addcerrlist\+\_\+assemble (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} <a id='L146' name='L146'></a> <a id='L147' name='L147'></a> <a id='L148' name='L148'></a> <a id='L149' name='L149'></a>アセンブルエラーをエラーリストに追加する <a id='L150' name='L150'></a> <a id='L151' name='L151'></a>\begin{DoxyReturn}{Returns} <a id='L152' name='L152'></a>なし <a id='L153' name='L153'></a>\end{DoxyReturn} <a id='L154' name='L154'></a> <a id='L155' name='L155'></a> <a id='L156' name='L156'></a>Definition at line 797 of file assemble.\+c. <a id='L157' name='L157'></a> <a id='L158' name='L158'></a>Here is the call graph for this function\+: <a id='L159' name='L159'></a>\nopagebreak <a id='L160' name='L160'></a>\begin{figure}[H] <a id='L161' name='L161'></a>\begin{center} <a id='L162' name='L162'></a>\leavevmode <a id='L163' name='L163'></a>\includegraphics[width=350pt]{assemble_8h_abeec7aeba384ae8621167386e0f3e2e9_cgraph} <a id='L164' name='L164'></a>\end{center} <a id='L165' name='L165'></a>\end{figure} <a id='L166' name='L166'></a>Here is the caller graph for this function\+: <a id='L167' name='L167'></a>\nopagebreak <a id='L168' name='L168'></a>\begin{figure}[H] <a id='L169' name='L169'></a>\begin{center} <a id='L170' name='L170'></a>\leavevmode <a id='L171' name='L171'></a>\includegraphics[width=229pt]{assemble_8h_abeec7aeba384ae8621167386e0f3e2e9_icgraph} <a id='L172' name='L172'></a>\end{center} <a id='L173' name='L173'></a>\end{figure} <a id='L174' name='L174'></a>\mbox{\label{assemble_8h_a10a81977ba4af7876ecbed2ca0167b5b}} <a id='L175' name='L175'></a>\index{assemble.h@{assemble.h}!addcerrlist\_label@{addcerrlist\_label}} <a id='L176' name='L176'></a>\index{addcerrlist\_label@{addcerrlist\_label}!assemble.h@{assemble.h}} <a id='L177' name='L177'></a>\doxysubsubsection{addcerrlist\_label()} <a id='L178' name='L178'></a>{\footnotesize\ttfamily void addcerrlist\+\_\+label (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} <a id='L179' name='L179'></a> <a id='L180' name='L180'></a> <a id='L181' name='L181'></a> <a id='L182' name='L182'></a>ラベルのエラーをエラーリストに追加する <a id='L183' name='L183'></a> <a id='L184' name='L184'></a>\begin{DoxyReturn}{Returns} <a id='L185' name='L185'></a>なし <a id='L186' name='L186'></a>\end{DoxyReturn} <a id='L187' name='L187'></a> <a id='L188' name='L188'></a> <a id='L189' name='L189'></a>Definition at line 84 of file label.\+c. <a id='L190' name='L190'></a> <a id='L191' name='L191'></a>Here is the call graph for this function\+: <a id='L192' name='L192'></a>\nopagebreak <a id='L193' name='L193'></a>\begin{figure}[H] <a id='L194' name='L194'></a>\begin{center} <a id='L195' name='L195'></a>\leavevmode <a id='L196' name='L196'></a>\includegraphics[width=335pt]{assemble_8h_a10a81977ba4af7876ecbed2ca0167b5b_cgraph} <a id='L197' name='L197'></a>\end{center} <a id='L198' name='L198'></a>\end{figure} <a id='L199' name='L199'></a>Here is the caller graph for this function\+: <a id='L200' name='L200'></a>\nopagebreak <a id='L201' name='L201'></a>\begin{figure}[H] <a id='L202' name='L202'></a>\begin{center} <a id='L203' name='L203'></a>\leavevmode <a id='L204' name='L204'></a>\includegraphics[width=350pt]{assemble_8h_a10a81977ba4af7876ecbed2ca0167b5b_icgraph} <a id='L205' name='L205'></a>\end{center} <a id='L206' name='L206'></a>\end{figure} <a id='L207' name='L207'></a>\mbox{\label{assemble_8h_a13845f111eda3f65e76716c9aca802aa}} <a id='L208' name='L208'></a>\index{assemble.h@{assemble.h}!addlabel@{addlabel}} <a id='L209' name='L209'></a>\index{addlabel@{addlabel}!assemble.h@{assemble.h}} <a id='L210' name='L210'></a>\doxysubsubsection{addlabel()} <a id='L211' name='L211'></a>{\footnotesize\ttfamily bool addlabel (\begin{DoxyParamCaption}\item[{const char $\ast$}]{prog, }\item[{const char $\ast$}]{label, }\item[{\textbf{ WORD}}]{adr }\end{DoxyParamCaption})} <a id='L212' name='L212'></a> <a id='L213' name='L213'></a> <a id='L214' name='L214'></a> <a id='L215' name='L215'></a>プログラム名、ラベル、アドレスをラベル表に追加する <a id='L216' name='L216'></a> <a id='L217' name='L217'></a>\begin{DoxyReturn}{Returns} <a id='L218' name='L218'></a>追加に成功した時はtrue、失敗した時はfalse <a id='L219' name='L219'></a>\end{DoxyReturn} <a id='L220' name='L220'></a> <a id='L221' name='L221'></a>\begin{DoxyParams}{Parameters} <a id='L222' name='L222'></a>{\em $\ast$prog} & プログラム名 \\ <a id='L223' name='L223'></a>\hline <a id='L224' name='L224'></a>{\em $\ast$label} & ラベル \\ <a id='L225' name='L225'></a>\hline <a id='L226' name='L226'></a>{\em adr} & アドレス \\ <a id='L227' name='L227'></a>\hline <a id='L228' name='L228'></a>\end{DoxyParams} <a id='L229' name='L229'></a> <a id='L230' name='L230'></a> <a id='L231' name='L231'></a>Definition at line 106 of file label.\+c. <a id='L232' name='L232'></a> <a id='L233' name='L233'></a>Here is the call graph for this function\+: <a id='L234' name='L234'></a>\nopagebreak <a id='L235' name='L235'></a>\begin{figure}[H] <a id='L236' name='L236'></a>\begin{center} <a id='L237' name='L237'></a>\leavevmode <a id='L238' name='L238'></a>\includegraphics[width=350pt]{assemble_8h_a13845f111eda3f65e76716c9aca802aa_cgraph} <a id='L239' name='L239'></a>\end{center} <a id='L240' name='L240'></a>\end{figure} <a id='L241' name='L241'></a>Here is the caller graph for this function\+: <a id='L242' name='L242'></a>\nopagebreak <a id='L243' name='L243'></a>\begin{figure}[H] <a id='L244' name='L244'></a>\begin{center} <a id='L245' name='L245'></a>\leavevmode <a id='L246' name='L246'></a>\includegraphics[width=350pt]{assemble_8h_a13845f111eda3f65e76716c9aca802aa_icgraph} <a id='L247' name='L247'></a>\end{center} <a id='L248' name='L248'></a>\end{figure} <a id='L249' name='L249'></a>\mbox{\label{assemble_8h_ae474115c02013d6a814a3c9a734b01a9}} <a id='L250' name='L250'></a>\index{assemble.h@{assemble.h}!assemble@{assemble}} <a id='L251' name='L251'></a>\index{assemble@{assemble}!assemble.h@{assemble.h}} <a id='L252' name='L252'></a>\doxysubsubsection{assemble()} <a id='L253' name='L253'></a>{\footnotesize\ttfamily bool assemble (\begin{DoxyParamCaption}\item[{int}]{filec, }\item[{char $\ast$}]{filev[$\,$], }\item[{\textbf{ WORD}}]{adr }\end{DoxyParamCaption})} <a id='L254' name='L254'></a> <a id='L255' name='L255'></a> <a id='L256' name='L256'></a> <a id='L257' name='L257'></a>指定された1つまたは複数のファイルを2回アセンブル <a id='L258' name='L258'></a> <a id='L259' name='L259'></a>\begin{DoxyReturn}{Returns} <a id='L260' name='L260'></a>アセンブル完了時はtrue、エラー発生時はfalseを返す <a id='L261' name='L261'></a>\end{DoxyReturn} <a id='L262' name='L262'></a> <a id='L263' name='L263'></a>\begin{DoxyParams}{Parameters} <a id='L264' name='L264'></a>{\em filec} & アセンブルするファイルの数 \\ <a id='L265' name='L265'></a>\hline <a id='L266' name='L266'></a>{\em filev} & アセンブルするファイル名の配列 \\ <a id='L267' name='L267'></a>\hline <a id='L268' name='L268'></a>{\em adr} & アセンブル結果を格納するアドレス \\ <a id='L269' name='L269'></a>\hline <a id='L270' name='L270'></a>\end{DoxyParams} <a id='L271' name='L271'></a> <a id='L272' name='L272'></a> <a id='L273' name='L273'></a>Definition at line 751 of file assemble.\+c. <a id='L274' name='L274'></a> <a id='L275' name='L275'></a>Here is the call graph for this function\+: <a id='L276' name='L276'></a>\nopagebreak <a id='L277' name='L277'></a>\begin{figure}[H] <a id='L278' name='L278'></a>\begin{center} <a id='L279' name='L279'></a>\leavevmode <a id='L280' name='L280'></a>\includegraphics[width=350pt]{assemble_8h_ae474115c02013d6a814a3c9a734b01a9_cgraph} <a id='L281' name='L281'></a>\end{center} <a id='L282' name='L282'></a>\end{figure} <a id='L283' name='L283'></a>Here is the caller graph for this function\+: <a id='L284' name='L284'></a>\nopagebreak <a id='L285' name='L285'></a>\begin{figure}[H] <a id='L286' name='L286'></a>\begin{center} <a id='L287' name='L287'></a>\leavevmode <a id='L288' name='L288'></a>\includegraphics[width=350pt]{assemble_8h_ae474115c02013d6a814a3c9a734b01a9_icgraph} <a id='L289' name='L289'></a>\end{center} <a id='L290' name='L290'></a>\end{figure} <a id='L291' name='L291'></a>\mbox{\label{assemble_8h_a36c8ab963b3acab70a2862e8252c996b}} <a id='L292' name='L292'></a>\index{assemble.h@{assemble.h}!assemblefile@{assemblefile}} <a id='L293' name='L293'></a>\index{assemblefile@{assemblefile}!assemble.h@{assemble.h}} <a id='L294' name='L294'></a>\doxysubsubsection{assemblefile()} <a id='L295' name='L295'></a>{\footnotesize\ttfamily bool assemblefile (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})} <a id='L296' name='L296'></a> <a id='L297' name='L297'></a> <a id='L298' name='L298'></a> <a id='L299' name='L299'></a>指定された名前のファイルをアセンブル~\newline <a id='L300' name='L300'></a> <a id='L301' name='L301'></a> <a id='L302' name='L302'></a>1回目ではラベルを登録し、2回目ではラベルからアドレスを読み込む <a id='L303' name='L303'></a> <a id='L304' name='L304'></a>\begin{DoxyReturn}{Returns} <a id='L305' name='L305'></a>アセンブル完了時はtrue、エラー発生時はfalseを返す <a id='L306' name='L306'></a>\end{DoxyReturn} <a id='L307' name='L307'></a> <a id='L308' name='L308'></a>\begin{DoxyParams}{Parameters} <a id='L309' name='L309'></a>{\em $\ast$file} & ファイル名 \\ <a id='L310' name='L310'></a>\hline <a id='L311' name='L311'></a>{\em pass} & アセンブラが何回目かを表す数\\ <a id='L312' name='L312'></a>\hline <a id='L313' name='L313'></a>\end{DoxyParams} <a id='L314' name='L314'></a>指定された名前のファイルをアセンブル~\newline <a id='L315' name='L315'></a> アセンブル完了時はtrue、エラー発生時はfalseを返す <a id='L316' name='L316'></a> <a id='L317' name='L317'></a>Definition at line 723 of file assemble.\+c. <a id='L318' name='L318'></a> <a id='L319' name='L319'></a>Here is the call graph for this function\+: <a id='L320' name='L320'></a>\nopagebreak <a id='L321' name='L321'></a>\begin{figure}[H] <a id='L322' name='L322'></a>\begin{center} <a id='L323' name='L323'></a>\leavevmode <a id='L324' name='L324'></a>\includegraphics[width=350pt]{assemble_8h_a36c8ab963b3acab70a2862e8252c996b_cgraph} <a id='L325' name='L325'></a>\end{center} <a id='L326' name='L326'></a>\end{figure} <a id='L327' name='L327'></a>Here is the caller graph for this function\+: <a id='L328' name='L328'></a>\nopagebreak <a id='L329' name='L329'></a>\begin{figure}[H] <a id='L330' name='L330'></a>\begin{center} <a id='L331' name='L331'></a>\leavevmode <a id='L332' name='L332'></a>\includegraphics[width=350pt]{assemble_8h_a36c8ab963b3acab70a2862e8252c996b_icgraph} <a id='L333' name='L333'></a>\end{center} <a id='L334' name='L334'></a>\end{figure} <a id='L335' name='L335'></a>\mbox{\label{assemble_8h_aee91ab081a311d3a398a846e5014102a}} <a id='L336' name='L336'></a>\index{assemble.h@{assemble.h}!freelabel@{freelabel}} <a id='L337' name='L337'></a>\index{freelabel@{freelabel}!assemble.h@{assemble.h}} <a id='L338' name='L338'></a>\doxysubsubsection{freelabel()} <a id='L339' name='L339'></a>{\footnotesize\ttfamily void freelabel (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} <a id='L340' name='L340'></a> <a id='L341' name='L341'></a> <a id='L342' name='L342'></a> <a id='L343' name='L343'></a>ラベル表を解放する <a id='L344' name='L344'></a> <a id='L345' name='L345'></a>\begin{DoxyReturn}{Returns} <a id='L346' name='L346'></a>なし <a id='L347' name='L347'></a>\end{DoxyReturn} <a id='L348' name='L348'></a> <a id='L349' name='L349'></a> <a id='L350' name='L350'></a>Definition at line 158 of file label.\+c. <a id='L351' name='L351'></a> <a id='L352' name='L352'></a>Here is the caller graph for this function\+: <a id='L353' name='L353'></a>\nopagebreak <a id='L354' name='L354'></a>\begin{figure}[H] <a id='L355' name='L355'></a>\begin{center} <a id='L356' name='L356'></a>\leavevmode <a id='L357' name='L357'></a>\includegraphics[width=350pt]{assemble_8h_aee91ab081a311d3a398a846e5014102a_icgraph} <a id='L358' name='L358'></a>\end{center} <a id='L359' name='L359'></a>\end{figure} <a id='L360' name='L360'></a>\mbox{\label{assemble_8h_a8b2ae1a0bae14a00c2ca265c79d021cc}} <a id='L361' name='L361'></a>\index{assemble.h@{assemble.h}!getlabel@{getlabel}} <a id='L362' name='L362'></a>\index{getlabel@{getlabel}!assemble.h@{assemble.h}} <a id='L363' name='L363'></a>\doxysubsubsection{getlabel()} <a id='L364' name='L364'></a>{\footnotesize\ttfamily \textbf{ WORD} getlabel (\begin{DoxyParamCaption}\item[{const char $\ast$}]{prog, }\item[{const char $\ast$}]{label }\end{DoxyParamCaption})} <a id='L365' name='L365'></a> <a id='L366' name='L366'></a> <a id='L367' name='L367'></a> <a id='L368' name='L368'></a>プログラム名とラベルに対応するアドレスをラベル表から検索する <a id='L369' name='L369'></a> <a id='L370' name='L370'></a>\begin{DoxyReturn}{Returns} <a id='L371' name='L371'></a>プログラム名とラベルに対応するアドレス <a id='L372' name='L372'></a>\end{DoxyReturn} <a id='L373' name='L373'></a> <a id='L374' name='L374'></a>\begin{DoxyParams}{Parameters} <a id='L375' name='L375'></a>{\em $\ast$prog} & プログラム名 \\ <a id='L376' name='L376'></a>\hline <a id='L377' name='L377'></a>{\em $\ast$label} & ラベル \\ <a id='L378' name='L378'></a>\hline <a id='L379' name='L379'></a>\end{DoxyParams} <a id='L380' name='L380'></a> <a id='L381' name='L381'></a> <a id='L382' name='L382'></a>Definition at line 89 of file label.\+c. <a id='L383' name='L383'></a> <a id='L384' name='L384'></a>Here is the call graph for this function\+: <a id='L385' name='L385'></a>\nopagebreak <a id='L386' name='L386'></a>\begin{figure}[H] <a id='L387' name='L387'></a>\begin{center} <a id='L388' name='L388'></a>\leavevmode <a id='L389' name='L389'></a>\includegraphics[width=350pt]{assemble_8h_a8b2ae1a0bae14a00c2ca265c79d021cc_cgraph} <a id='L390' name='L390'></a>\end{center} <a id='L391' name='L391'></a>\end{figure} <a id='L392' name='L392'></a>Here is the caller graph for this function\+: <a id='L393' name='L393'></a>\nopagebreak <a id='L394' name='L394'></a>\begin{figure}[H] <a id='L395' name='L395'></a>\begin{center} <a id='L396' name='L396'></a>\leavevmode <a id='L397' name='L397'></a>\includegraphics[width=350pt]{assemble_8h_a8b2ae1a0bae14a00c2ca265c79d021cc_icgraph} <a id='L398' name='L398'></a>\end{center} <a id='L399' name='L399'></a>\end{figure} <a id='L400' name='L400'></a>\mbox{\label{assemble_8h_a84a92a5aed87fed78d98a41a4805a26b}} <a id='L401' name='L401'></a>\index{assemble.h@{assemble.h}!outassemble@{outassemble}} <a id='L402' name='L402'></a>\index{outassemble@{outassemble}!assemble.h@{assemble.h}} <a id='L403' name='L403'></a>\doxysubsubsection{outassemble()} <a id='L404' name='L404'></a>{\footnotesize\ttfamily void outassemble (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file }\end{DoxyParamCaption})} <a id='L405' name='L405'></a> <a id='L406' name='L406'></a> <a id='L407' name='L407'></a> <a id='L408' name='L408'></a>ファイルにアセンブル結果を書き込む <a id='L409' name='L409'></a> <a id='L410' name='L410'></a>\begin{DoxyReturn}{Returns} <a id='L411' name='L411'></a>なし <a id='L412' name='L412'></a>\end{DoxyReturn} <a id='L413' name='L413'></a> <a id='L414' name='L414'></a>\begin{DoxyParams}{Parameters} <a id='L415' name='L415'></a>{\em $\ast$file} & ファイル名 \\ <a id='L416' name='L416'></a>\hline <a id='L417' name='L417'></a>\end{DoxyParams} <a id='L418' name='L418'></a> <a id='L419' name='L419'></a> <a id='L420' name='L420'></a>Definition at line 805 of file assemble.\+c. <a id='L421' name='L421'></a> <a id='L422' name='L422'></a>Here is the caller graph for this function\+: <a id='L423' name='L423'></a>\nopagebreak <a id='L424' name='L424'></a>\begin{figure}[H] <a id='L425' name='L425'></a>\begin{center} <a id='L426' name='L426'></a>\leavevmode <a id='L427' name='L427'></a>\includegraphics[width=191pt]{assemble_8h_a84a92a5aed87fed78d98a41a4805a26b_icgraph} <a id='L428' name='L428'></a>\end{center} <a id='L429' name='L429'></a>\end{figure} <a id='L430' name='L430'></a>\mbox{\label{assemble_8h_a3195492a17ee089ac687975cf79bde8b}} <a id='L431' name='L431'></a>\index{assemble.h@{assemble.h}!printlabel@{printlabel}} <a id='L432' name='L432'></a>\index{printlabel@{printlabel}!assemble.h@{assemble.h}} <a id='L433' name='L433'></a>\doxysubsubsection{printlabel()} <a id='L434' name='L434'></a>{\footnotesize\ttfamily void printlabel (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} <a id='L435' name='L435'></a> <a id='L436' name='L436'></a> <a id='L437' name='L437'></a> <a id='L438' name='L438'></a>ラベル表を表示する <a id='L439' name='L439'></a> <a id='L440' name='L440'></a>\begin{DoxyReturn}{Returns} <a id='L441' name='L441'></a>なし <a id='L442' name='L442'></a>\end{DoxyReturn} <a id='L443' name='L443'></a> <a id='L444' name='L444'></a> <a id='L445' name='L445'></a>Definition at line 135 of file label.\+c. <a id='L446' name='L446'></a> <a id='L447' name='L447'></a>Here is the call graph for this function\+: <a id='L448' name='L448'></a>\nopagebreak <a id='L449' name='L449'></a>\begin{figure}[H] <a id='L450' name='L450'></a>\begin{center} <a id='L451' name='L451'></a>\leavevmode <a id='L452' name='L452'></a>\includegraphics[width=212pt]{assemble_8h_a3195492a17ee089ac687975cf79bde8b_cgraph} <a id='L453' name='L453'></a>\end{center} <a id='L454' name='L454'></a>\end{figure} <a id='L455' name='L455'></a>Here is the caller graph for this function\+: <a id='L456' name='L456'></a>\nopagebreak <a id='L457' name='L457'></a>\begin{figure}[H] <a id='L458' name='L458'></a>\begin{center} <a id='L459' name='L459'></a>\leavevmode <a id='L460' name='L460'></a>\includegraphics[width=350pt]{assemble_8h_a3195492a17ee089ac687975cf79bde8b_icgraph} <a id='L461' name='L461'></a>\end{center} <a id='L462' name='L462'></a>\end{figure} <a id='L463' name='L463'></a> <a id='L464' name='L464'></a> <a id='L465' name='L465'></a>\doxysubsection{Variable Documentation} <a id='L466' name='L466'></a>\mbox{\label{assemble_8h_a553af9531f70e1be37646213319427eb}} <a id='L467' name='L467'></a>\index{assemble.h@{assemble.h}!asmode@{asmode}} <a id='L468' name='L468'></a>\index{asmode@{asmode}!assemble.h@{assemble.h}} <a id='L469' name='L469'></a>\doxysubsubsection{asmode} <a id='L470' name='L470'></a>{\footnotesize\ttfamily \textbf{ ASMODE} asmode\hspace{0.3cm}{\ttfamily [extern]}} <a id='L471' name='L471'></a> <a id='L472' name='L472'></a> <a id='L473' name='L473'></a> <a id='L474' name='L474'></a>アセンブルモード\+: src, label, onlylabel, asdetail, onlyassemble <a id='L475' name='L475'></a> <a id='L476' name='L476'></a> <a id='L477' name='L477'></a> <a id='L478' name='L478'></a>Definition at line 312 of file assemble.\+c. <a id='L479' name='L479'></a> <a id='L480' name='L480'></a>\mbox{\label{assemble_8h_a671dfafc32a3b439790e2e0ac1de9069}} <a id='L481' name='L481'></a>\index{assemble.h@{assemble.h}!asptr@{asptr}} <a id='L482' name='L482'></a>\index{asptr@{asptr}!assemble.h@{assemble.h}} <a id='L483' name='L483'></a>\doxysubsubsection{asptr} <a id='L484' name='L484'></a>{\footnotesize\ttfamily \textbf{ ASPTR}$\ast$ asptr\hspace{0.3cm}{\ttfamily [extern]}} <a id='L485' name='L485'></a> <a id='L486' name='L486'></a> <a id='L487' name='L487'></a> <a id='L488' name='L488'></a>アセンブル時の、現在およびリテラルのアドレスとプログラム入口名\+: ptr, lptr, prog <a id='L489' name='L489'></a> <a id='L490' name='L490'></a> <a id='L491' name='L491'></a> <a id='L492' name='L492'></a>Definition at line 310 of file assemble.\+c. <a id='L493' name='L493'></a> </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>