Each dt (define table) directive uses up a line for each character in your table/string. If you're not careful, your code could get long despite being short.
Here's how the define table directive works. Each character in your string is actually translated into a single retlw (return literal in W).
For example:
dt "Hello!"
is translated into:
retlw 'H'retlw 'l'
retlw 'l'
retlw 'o'
retlw '!'
© 2024 Created by PML. Powered by
You need to be a member of Personal Mechatronics Lab to add comments!
Join Personal Mechatronics Lab