From 53def6e0909bdf7d834b298977c6a2ba8cf0e38f Mon Sep 17 00:00:00 2001 From: khanhkhanhlele Date: Wed, 5 Nov 2025 09:52:54 +0700 Subject: [PATCH] fix-typo --- Assembler/assembler.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assembler/assembler.py b/Assembler/assembler.py index dba6c6e842e..8c14e78eb0b 100644 --- a/Assembler/assembler.py +++ b/Assembler/assembler.py @@ -745,7 +745,7 @@ def scanner(string): def scan(): """ - scan: applys function scanner() to each line of the source code. + scan: applies function scanner() to each line of the source code. """ global lines assert len(lines) > 0, "no lines" @@ -1008,7 +1008,7 @@ def parser(): elif eax == 3: ecx = float(input(">> ")) - elif eax == 4: # output informations + elif eax == 4: # output information print(ecx) elif token.token == "push": # push commando @@ -1157,7 +1157,7 @@ def parser(): pointer = jumps[token.token] else: # error case - print("Error: Unknow subprogram!") + print("Error: Unknown subprogram!") return else: # error case @@ -1169,7 +1169,7 @@ def parser(): pointer = returnStack.pop() else: # error case - print("Error: No return adress on stack") + print("Error: No return address on stack") return elif token.t == "subprogram":