CODE TAGS - No Assembly Language Options?

Thread Starter

JohnInTX

Joined Jun 26, 2012
4,085
There does not seem to be an option in the Insert Code drop-down for assembler. Manually specifying code=MPASM or just code=ASM doesn't seem to work either. Have we lost that or what am I missing?
Code:
; This is tagged code=asm
ORG 0
movf junk,W
movwf junk2
END
@jrap
Thanks!
 

Thread Starter

JohnInTX

Joined Jun 26, 2012
4,085
It was a plug-in that has not been purchased for the new version or maybe is not compatible.
It's time to get off the shnide and get it done, whatever it takes. Like it or not, a lot of our traffic in 'Microcontrollers' is still PIC and 8051 assembler. AppleScript, NGINX, and YAML et. al. .. not so much.

Thanks for the link, too.
 
Last edited:

jpanhalt

Joined Jan 18, 2008
9,435
Even if just the lines were numbered, it would help. Just today, I tried replying to our friend on his SPI post with a couple of lines highlighted. Of course, the highlighting failed and without line numbers, it is risky to assume everyone numbers them the same.
 

jrap

Joined Jun 25, 2006
1,062
So the closest I can find is nasm

Netwide Assembler:
org 0x100
    mov    ah, 0x9
    mov    dx, hello
    int    0x21

    mov    ax, 0x4c00
    int    0x21

section .data
hello:    db 'Hello, world!', 13, 10, '$'
 

jpanhalt

Joined Jan 18, 2008
9,435
At least it has line numbers.

Netwide Assembler:
GetSW
     movlb     7              ;                                            |B7
     btfsc     IOCAF,5
     bra       SWx
     btfsc     IOCAF,4
     bra       SWx
     btfsc     IOCAF,3
     bra       SWx
     btfsc     IOCAF,2
     bra       SWx
     btfsc     IOCAF,1
     bra       SWx
     btfsc     IOCAF,0
     bra       SWx
 
Top