mirror of
https://github.com/open-simh/simtools.git
synced 2026-02-17 05:06:53 +00:00
Very simple .LIST and .NLIST implementation.
Thanks to Don North. Also added a simple test. Fixes #3.
This commit is contained in:
10
assemble.c
10
assemble.c
@@ -277,12 +277,16 @@ static int assemble(
|
||||
case P_ENDR:
|
||||
case P_ENDM:
|
||||
case P_SBTTL:
|
||||
case P_LIST:
|
||||
case P_NLIST:
|
||||
case P_PRINT:
|
||||
return 1; /* Accepted, ignored. (An obvious
|
||||
need: get assembly listing
|
||||
controls working. ) */
|
||||
controls working fully. ) */
|
||||
case P_LIST:
|
||||
if (pass > 0) list_level++;
|
||||
return 1;
|
||||
case P_NLIST:
|
||||
if (pass > 0) list_level--;
|
||||
return 1;
|
||||
|
||||
case P_IDENT:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user