mirror of
https://github.com/irmen/prog8.git
synced 2024-11-02 22:04:40 +00:00
doc
This commit is contained in:
parent
78ddcf9db7
commit
35aa954be8
@ -282,13 +282,6 @@ of something with an operand starting with 1 or 0, you'll have to add a space in
|
|||||||
- You can force a byte value into a word value by adding the ``.w`` datatype suffix to the number: ``$2a.w`` is equivalent to ``$002a``.
|
- You can force a byte value into a word value by adding the ``.w`` datatype suffix to the number: ``$2a.w`` is equivalent to ``$002a``.
|
||||||
|
|
||||||
|
|
||||||
.. todo::
|
|
||||||
|
|
||||||
omit the array size in the var decl if an initialization array is given?
|
|
||||||
|
|
||||||
**@todo pointers/addresses? (as opposed to normal WORDs)**
|
|
||||||
|
|
||||||
|
|
||||||
Data type conversion
|
Data type conversion
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
Many type conversions are possible by just writing ``as <type>`` at the end of an expression,
|
Many type conversions are possible by just writing ``as <type>`` at the end of an expression,
|
||||||
|
@ -5,7 +5,7 @@ TODO
|
|||||||
Memory Block Operations integrated in language?
|
Memory Block Operations integrated in language?
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@todo list,string memory block operations?
|
list,string memory block operations?
|
||||||
|
|
||||||
- list operations (whole list, individual element)
|
- list operations (whole list, individual element)
|
||||||
operations: set, get, copy (from another list with the same length), shift-N(left,right), rotate-N(left,right)
|
operations: set, get, copy (from another list with the same length), shift-N(left,right), rotate-N(left,right)
|
||||||
@ -15,7 +15,7 @@ Memory Block Operations integrated in language?
|
|||||||
|
|
||||||
- strings: identical operations as on lists.
|
- strings: identical operations as on lists.
|
||||||
|
|
||||||
these should call (or emit inline) optimized pieces of assembly code, so they run as fast as possible
|
these should call optimized pieces of assembly code, so they run as fast as possible
|
||||||
|
|
||||||
For now, we have the ``memcopy``, ``memset`` and ``strlen`` builtin functions.
|
For now, we have the ``memcopy``, ``memset`` and ``strlen`` builtin functions.
|
||||||
|
|
||||||
@ -74,5 +74,7 @@ of values together (and use it multiple times). Something like::
|
|||||||
Misc
|
Misc
|
||||||
^^^^
|
^^^^
|
||||||
|
|
||||||
- are there any other missing instructions in the code generator?
|
- replace ``memory`` keyword in vardecls by just ``&``
|
||||||
- implement %asmbinary
|
- implement %asmbinary
|
||||||
|
- make the array size optional in the var decl if an initialization array is given
|
||||||
|
- are there any other missing instructions in the code generator?
|
||||||
|
Loading…
Reference in New Issue
Block a user