#TITLE=SPARC ; SPARC Assembly Language syntax file ; Hongik University ; Department of computer Engineering ; Sung, Dae-Hyun ; sungdh86@gmail.com ; sungdh86.egloos.com ; egogun.tistory.com #DELIMITER=,()#:[] #QUOTATION1= #QUOTATION2=" #CONTINUE_QUOTE=n #LINECOMMENT=! #LINECOMMENT2= #COMMENTON=/* #COMMENTOFF=*/ #COMMENTON2= #COMMENTOFF2= #ESCAPE= #CASE= #PREFIX1= #PREFIX2= #PREFIX3= #PREFIX4=% #PREFIX5= #SUFFIX1= #SUFFIX2= #SUFFIX3= #SUFFIX4= #SUFFIX5=: #KEYWORD=Instructions ; Arithmetic Instructions add addcc addx addxcc taddcc taddcctv sub subcc subx subxcc tsubcc tsubcctv mulscc rdy wry ; Logical Instructions and andcc andn addncc or orcc orn orncc xor xorcc xnor xnorcc ; Shift Instructions sll srl sra ; Load Instructions ldub ldsb lduh ldsh ld ldd ; Store Instructions stb sth st std swap ; Integer Branch Instructions ba bn be be,a bne bne,a bl bl,a ble ble,a bge bge,a bg bg,a blu blu,a bleu bleu,a bgeu bgeu,a bgu bgu,a bpos bneg bcs bcc bvs bvc ; Trap Instructions ta tn te tne tl tle tge tg tlu tleu tgeu tgu tpos tneg tcs tcc tvs tvc ; Constrol Instructions call jmpl rett sethi save restore ; Floating-Point Instructions ldf lddf stf stdf fitos fitod fitoq fstoi fdtoi fqtoi fstod fstoq fdtoq fdtos fqtod fqtos fmovs fnegs fabss fadds faddd faddq fsubs fsubd fsubq fmuls fmuld fmulq fsmuld fdivs fdivd fdviq fsqrts fsqrtd fsqrtq fcmps fcmpd fcmpq fcmpes fcmped fcmpeq ; Floating-Point Branch Instructions fba fbn fbu fbo fbe fbue fbne fblg fbl fbul fble fbule fbge fbuge fbg fbug #KEYWORD=Pseudo-instructions cmp jmp call tst ret retl set not neg inc inccc dec deccc btst bset bclr btog clr clrb clrh mov nop #KEYWORD=Other .ascii .asciz .text .data .bss .skip .align .byte .half .word .single .double .quad .global .common .empty .section #KEYWORD=Registers fp sp #KEYWORD=Labels #