diff options
author | hpa <hpa> | 2002-04-30 03:33:27 +0000 |
---|---|---|
committer | hpa <hpa> | 2002-04-30 03:33:27 +0000 |
commit | b17209b886b2395ed711f3335e7be355d2fefc8d (patch) | |
tree | 68821078b0d4b1f2e8975b9b079127d36dedc350 /parsecmd.inc | |
parent | 83b3e784e2226dbda6345e54031c0eb4ceca34eb (diff) | |
download | syslinux-b17209b886b2395ed711f3335e7be355d2fefc8d.tar.gz |
Further rationalize command-line parsing by allowing functions tosyslinux-1.73-pre9
take an argument.
Diffstat (limited to 'parsecmd.inc')
-rw-r--r-- | parsecmd.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/parsecmd.inc b/parsecmd.inc index f10e4f59..5639db93 100644 --- a/parsecmd.inc +++ b/parsecmd.inc @@ -57,7 +57,7 @@ getcommand: lodsd cmp ebx,eax je .found_keywd - lodsw ; Skip entrypoint + lodsd ; Skip entrypoint/argument loop .table_search ; Otherwise unrecognized keyword @@ -71,7 +71,8 @@ getcommand: call cwritestr jmp short .find -.found_keywd: call near [si] +.found_keywd: lodsw ; Load argument into ax + call near [si] clc ret |