{"source", no_argument, NULL, 's'},
{"label", no_argument, NULL, 'l'},
{"labelonly", no_argument, NULL, 'L'},
{"source", no_argument, NULL, 's'},
{"label", no_argument, NULL, 'l'},
{"labelonly", no_argument, NULL, 'L'},
ASMODE asmode = {false, false, false, false, false};
ASMODE asmode = {false, false, false, false, false};
{ 122, "cannot create hash table" },
{ 123, "illegal string" },
{ 124, "more than one character in literal" },
{ 122, "cannot create hash table" },
{ 123, "illegal string" },
{ 124, "more than one character in literal" },
{ 201, "execute - out of COMET II memory" },
{ 202, "SVC input - out of Input memory" },
{ 203, "SVC output - out of COMET II memory" },
{ 201, "execute - out of COMET II memory" },
{ 202, "SVC input - out of Input memory" },
{ 203, "SVC output - out of COMET II memory" },
while((opt = getopt_long(argc, argv, "tTdslLao::O::AM:C:h", longopts, NULL)) != -1) {
switch(opt) {
case 's':
while((opt = getopt_long(argc, argv, "tTdslLao::O::AM:C:h", longopts, NULL)) != -1) {
switch(opt) {
case 's':
- if((&execmode)->tracemode == true || (&execmode)->dumpmode == true ||
- (&asmode)->srcmode == true || (&asmode)->labelmode == true ||
- (&asmode)->asdetailmode == true)
+ if((&execmode)->trace == true || (&execmode)->dump == true ||
+ (&asmode)->src == true || (&asmode)->label == true ||
+ (&asmode)->asdetail == true)
{
fprintf(stdout, "\nAssemble %s (%d)\n", argv[i], pass);
}
{
fprintf(stdout, "\nAssemble %s (%d)\n", argv[i], pass);
}