• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

this hex code

Status
Not open for further replies.
show me how to turn this *hex* code to assembly...
hex ‘code’

0000h – 281f Goto Start:
0001h – 3fff
0002h - 3fff
0003h - 3fff
0004h - 3fff
0005h – 3444
0006h – 3445
0007h – 3440
0008h – 344f
0009h - 3438
000Ah – (…)
000Bh
000Ch
000Dh
000Eh
000Fh
0010h
0011h
0012h – (…)
0013h – 3004 - MOVLW 4
0014h - 008f – MOVWF f
0015h – 018e - CLRF e
0016h – 018d – CLRF d
0017h – 0000 – NOP
0018h – 0b8d – DECFSZ f, 1
0019h – 2817 – Goto 17
001Ah – 0b8e – DECFSZ e, 1
001Bh – 2817 – Goto 17
001Ch – 0b8f – DECFSZ f, 1 ; decrement register 4
001Dh – 2817 – Goto 17
001Eh – 0008 – RETURN
001Fh – 3000 - MOVLW 0 ; Start is here
0020h – 0086 - MOVWF 6
0021h – 1683 – BSF 3, 5
0022h – 3000 – MOVLW 0
0023h – 0086 – MOVWF 6
0024h – 1283 - BCF – 3, 5
0025h – 3001 – MOVLW 1
0026h – 008c -MOVWF c
0027h – 080c - MOVF
0028h – 2013 -CALL 13
0029h – 0a8c – INCF c, 1
002Ah
002Bh
002Ch

*end*
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top