Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
lehrkraefte:blc:informatik:efi-2023:assembler [2024/04/23 14:47] Ivo Blöchliger [Hackme] |
lehrkraefte:blc:informatik:efi-2023:assembler [2024/04/23 15:02] Ivo Blöchliger [Funktionsweise einer CPU] |
||
---|---|---|---|
Line 279: | Line 279: | ||
</ | </ | ||
</ | </ | ||
+ | <hidden Animation mit Bytes in Strings codier (unnötig hackisch)> | ||
+ | ; Simple example | ||
+ | ; Writes Hello World to the output | ||
+ | start: | ||
+ | |||
+ | MOV B, dataStart | ||
+ | loop: | ||
+ | MOV C, [B] | ||
+ | MOV A, [B+6] | ||
+ | MOV [253], C | ||
+ | MOV [254], A | ||
+ | MOV [255], C | ||
+ | INC B | ||
+ | CMP B, dataEnd | ||
+ | JNZ loop | ||
+ | JMP start | ||
+ | |||
+ | |||
+ | |||
+ | dataStart: | ||
+ | DB " | ||
+ | |||
+ | dataEnd: | ||
+ | DB " | ||
+ | |||
+ | </ | ||
<hidden Quicksort-Implementation> | <hidden Quicksort-Implementation> | ||
<code asm> | <code asm> |