blob: f44ee477352ac752e01949fc860e5fbfad957787 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
; MCU 8051 IDE - Demostration code
; Very simple code
; Press F2 and F6 to run the program (start simulator and animate)
org 0h
main: inc R0
inc @R0
cjne R0, #07Fh, main
mov R0, #0d
sjmp main
end
; <-- Bookmark (try Alt+PgUp/Alt+PgDown)
; <-- Breakpoint
; -----------------------------------------
; NOTICE:
; Simulator limitations:
; * SPI
; * Access to external code memory
; * Power down modes
; -----------------------------------------
; IF YOU HAVE FOUND SOME BUG IN THIS IDE , PLEASE LET ME KNOW
|