+ return w;
+}
+
+/**
+ * @brief wordのエラー定義
+ */
+static CERR cerr_word[] = {
+ { 114, "not integer" },
+ { 115, "not hex" },
+ { 116, "out of hex range" },
+};
+
+/**
+ * @brief ファイル読み込みのエラー定義
+ */
+static CERR cerr_load[] = {
+ { 210, "load - memory overflow" },
+ { 211, "object file not specified" },
+ { 212, "invalid option" },
+ { 213, "invalid argument" },
+};
+
+/* word.hで定義された関数群 */
+void addcerrlist_load()
+{
+ addcerrlist(ARRAYSIZE(cerr_load), cerr_load);
+}
+
+void addcerrlist_word()
+{
+ addcerrlist(ARRAYSIZE(cerr_word), cerr_word);