File: demo0.asm

package info (click to toggle)
mcu8051ide 1.3.7-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 6,744 kB
  • ctags: 3,400
  • sloc: tcl: 81,408; xml: 2,045; asm: 1,588; ada: 314; sh: 148; ansic: 96; makefile: 28
file content (27 lines) | stat: -rw-r--r-- 517 bytes parent folder | download
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