\doxysection{src/load.c File Reference}
\label{load_8c}\index{src/load.c@{src/load.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$assert.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$ctype.\+h$>$}\newline
{\ttfamily \#include "{}word.\+h"{}}\newline
{\ttfamily \#include "{}struct.\+h"{}}\newline
{\ttfamily \#include "{}cerr.\+h"{}}\newline
Include dependency graph for load.\+c\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{load_8c__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item
void \textbf{ addcerrlist\+\_\+load} ()
\begin{DoxyCompactList}\small\item\em アセンブル結果読み込みエラーをエラーリストに追加する \end{DoxyCompactList}\item
\textbf{ WORD} \textbf{ loadassemble} (const char $\ast$file, \textbf{ WORD} start)
\begin{DoxyCompactList}\small\item\em 指定されたファイルからアセンブル結果を読み込む \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item
static \textbf{ CERR} \textbf{ cerr\+\_\+load} [$\,$]
\begin{DoxyCompactList}\small\item\em ファイル読み込みのエラー定義 \end{DoxyCompactList}\end{DoxyCompactItemize}
\label{doc-func-members}
\doxysubsection{Function Documentation}
\index{load.c@{load.c}!addcerrlist\_load@{addcerrlist\_load}}
\index{addcerrlist\_load@{addcerrlist\_load}!load.c@{load.c}}
\doxysubsubsection{addcerrlist\_load()}
{\footnotesize\ttfamily \label{load_8c_a2ee9725c08d25a34fd0879a2c3aa78f4}
void addcerrlist\+\_\+load (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}
アセンブル結果読み込みエラーをエラーリストに追加する
Definition at line \textbf{ 22} of file \textbf{ load.\+c}.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=327pt]{load_8c_a2ee9725c08d25a34fd0879a2c3aa78f4_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=201pt]{load_8c_a2ee9725c08d25a34fd0879a2c3aa78f4_icgraph}
\end{center}
\end{figure}
\index{load.c@{load.c}!loadassemble@{loadassemble}}
\index{loadassemble@{loadassemble}!load.c@{load.c}}
\doxysubsubsection{loadassemble()}
{\footnotesize\ttfamily \label{load_8c_a186f8b4d29fe2ed208bf67a67ab2850f}
\textbf{ WORD} loadassemble (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file}{, }\item[{\textbf{ WORD}}]{start}{}\end{DoxyParamCaption})}
指定されたファイルからアセンブル結果を読み込む
\begin{DoxyReturn}{Returns}
読み込み終了アドレス。読み込めなかった場合は、0
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em file} & 読み込むファイル名 \\
\hline
{\em start} & 読み込み開始アドレス \\
\hline
\end{DoxyParams}
Definition at line \textbf{ 27} of file \textbf{ load.\+c}.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=304pt]{load_8c_a186f8b4d29fe2ed208bf67a67ab2850f_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{load_8c_a186f8b4d29fe2ed208bf67a67ab2850f_icgraph}
\end{center}
\end{figure}
\label{doc-var-members}
\doxysubsection{Variable Documentation}
\index{load.c@{load.c}!cerr\_load@{cerr\_load}}
\index{cerr\_load@{cerr\_load}!load.c@{load.c}}
\doxysubsubsection{cerr\_load}
{\footnotesize\ttfamily \label{load_8c_ad2bcb14dc1bfcb08e31410ce1683505d}
\textbf{ CERR} cerr\+\_\+load[$\,$]\hspace{0.3cm}{\ttfamily [static]}}
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ \ \ \{\ 210,\ \textcolor{stringliteral}{"{}load\ -\/\ memory\ overflow"{}}\ \},}
\DoxyCodeLine{\ \ \ \ \{\ 211,\ \textcolor{stringliteral}{"{}object\ file\ not\ specified"{}}\ \},}
\DoxyCodeLine{\ \ \ \ \{\ 212,\ \textcolor{stringliteral}{"{}invalid\ option"{}}\ \},}
\DoxyCodeLine{\ \ \ \ \{\ 213,\ \textcolor{stringliteral}{"{}invalid\ argument"{}}\ \},}
\DoxyCodeLine{\}}
\end{DoxyCode}
ファイル読み込みのエラー定義
Definition at line \textbf{ 14} of file \textbf{ load.\+c}.