You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
234 B
16 lines
234 B
# SPDX-License-Identifier: MIT
|
|
# Copyright Murad Karammaev, Nikita Kuzmin
|
|
|
|
# This program computes 3 + 7 + 8 + 80
|
|
# and stores result in [15]
|
|
|
|
MOV R0.l, 3
|
|
MOV R1.l, 7
|
|
ADD
|
|
MOV R1.l, 8
|
|
ADD
|
|
MOV R1.l, 0
|
|
MOV R1.h, 5
|
|
ADD
|
|
MOV [0xf], R0
|
|
HALT
|
|
|