diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2024-02-20 16:16:14 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2024-02-20 16:16:14 +0200 |
| commit | abf0594c78087434bced59054896f7f411e18faf (patch) | |
| tree | 092adfe0927d7f4c9c5a09adfc1974c5194e0bf8 /asm/atk16.py | |
| parent | 7f0614990a6485dccf24e160b491c93c56771b1e (diff) | |
Commit uncommitted changes
Diffstat (limited to 'asm/atk16.py')
| -rw-r--r-- | asm/atk16.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/asm/atk16.py b/asm/atk16.py index 2a1c0a1..9aa3c55 100644 --- a/asm/atk16.py +++ b/asm/atk16.py @@ -4,7 +4,17 @@ Void = Literal[0] Word16 = int ConstWord16 = int -def store(p: Word16, value: Word16) -> Void: +def store(p: Word16, value: Word16 | Char) -> Void: + raise NotImplementedError + +@overload +def store_const_vec(p: Word16, value: list[Word16]) -> Void: ... +@overload +def store_const_vec(p: Word16, value: list[Char]) -> Void: ... +@overload +def store_const_vec(p: Word16, value: str) -> Void: ... + +def store_const_vec(p, value) -> Void: raise NotImplementedError def load(p: Word16) -> Word16: |
