# CODE TAGS - No Assembly Language Options?

#### JohnInTX

Joined Jun 26, 2012
4,551
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!

#### JohnInTX

Joined Jun 26, 2012
4,551
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.

Last edited:

#### jrap

Joined Jun 25, 2006
1,110
Looks like it wasn't included by default as I had thought it was. I will get this resolved, my apologies.

#### jpanhalt

Joined Jan 18, 2008
11,088
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.

#### JohnInTX

Joined Jun 26, 2012
4,551
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.
Both, please. Line numbers AND formatting.

Thanks, @jrap

#### jrap

Joined Jun 25, 2006
1,110
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
11,088
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