.name keywords ; By default, this code will be saved to ; a file named keywords.yas .profile YASEP16 ; This program expect to run ; on a generic 16 bits version of the YASEP .subst Counter R1 ; substitute variable names .subst tmp R2 ; with actual register names .org 22 ; locate the code at address 22 mov 0 Counter . LabelLoop ; Loop entry label ; Loop body of any size .align 32 ; the next instruction ; will be aligned to a 32-byte boundary ; Loop 65536 times : add 1 Counter ; increments the counter mov LabelLoop tmp ; load the loop address in R2 mov tmp PC NZ Counter ; Loop if the counter is not 0 HALT ; End of program : halt the CPU ; pseudo instructions : db 1 2 3 dh 4 5 dw 6 7 8 du "L'UTF-8 est supporté : éàŷ€ژߜզЖϔɕʬǂþ ͊Ϡ"