1 .data 2 foodata: .word 42 3 .text 4 footext: 5 .text 6 .global add 7 add: 8 add fp,fp 9 .text 10 .global add3 11 add3: 12 add3 fp,fp,#0 13 .text 14 .global and 15 and: 16 and fp,fp 17 .text 18 .global and3 19 and3: 20 and3 fp,fp,#0 21 .text 22 .global or 23 or: 24 or fp,fp 25 .text 26 .global or3 27 or3: 28 or3 fp,fp,#0 29 .text 30 .global xor 31 xor: 32 xor fp,fp 33 .text 34 .global xor3 35 xor3: 36 xor3 fp,fp,#0 37 .text 38 .global addi 39 addi: 40 addi fp,#0 41 .text 42 .global addv 43 addv: 44 addv fp,fp 45 .text 46 .global addv3 47 addv3: 48 addv3 fp,fp,#0 49 .text 50 .global addx 51 addx: 52 addx fp,fp 53 .text 54 .global bc8 55 bc8: 56 bc footext 57 .text 58 .global bc8_s 59 bc8_s: 60 bc.s footext 61 .text 62 .global bc24 63 bc24: 64 bc footext 65 .text 66 .global bc24_l 67 bc24_l: 68 bc.l footext 69 .text 70 .global beq 71 beq: 72 beq fp,fp,footext 73 .text 74 .global beqz 75 beqz: 76 beqz fp,footext 77 .text 78 .global bgez 79 bgez: 80 bgez fp,footext 81 .text 82 .global bgtz 83 bgtz: 84 bgtz fp,footext 85 .text 86 .global blez 87 blez: 88 blez fp,footext 89 .text 90 .global bltz 91 bltz: 92 bltz fp,footext 93 .text 94 .global bnez 95 bnez: 96 bnez fp,footext 97 .text 98 .global bl8 99 bl8: 100 bl footext 101 .text 102 .global bl8_s 103 bl8_s: 104 bl.s footext 105 .text 106 .global bl24 107 bl24: 108 bl footext 109 .text 110 .global bl24_l 111 bl24_l: 112 bl.l footext 113 .text 114 .global bnc8 115 bnc8: 116 bnc footext 117 .text 118 .global bnc8_s 119 bnc8_s: 120 bnc.s footext 121 .text 122 .global bnc24 123 bnc24: 124 bnc footext 125 .text 126 .global bnc24_l 127 bnc24_l: 128 bnc.l footext 129 .text 130 .global bne 131 bne: 132 bne fp,fp,footext 133 .text 134 .global bra8 135 bra8: 136 bra footext 137 .text 138 .global bra8_s 139 bra8_s: 140 bra.s footext 141 .text 142 .global bra24 143 bra24: 144 bra footext 145 .text 146 .global bra24_l 147 bra24_l: 148 bra.l footext 149 .text 150 .global cmp 151 cmp: 152 cmp fp,fp 153 .text 154 .global cmpi 155 cmpi: 156 cmpi fp,#0 157 .text 158 .global cmpu 159 cmpu: 160 cmpu fp,fp 161 .text 162 .global cmpui 163 cmpui: 164 cmpui fp,#0 165 .text 166 .global div 167 div: 168 div fp,fp 169 .text 170 .global divu 171 divu: 172 divu fp,fp 173 .text 174 .global rem 175 rem: 176 rem fp,fp 177 .text 178 .global remu 179 remu: 180 remu fp,fp 181 .text 182 .global jl 183 jl: 184 jl fp 185 .text 186 .global jmp 187 jmp: 188 jmp fp 189 .text 190 .global ld 191 ld: 192 ld fp,@fp 193 .text 194 .global ld_2 195 ld_2: 196 ld fp,@(fp) 197 .text 198 .global ld_d 199 ld_d: 200 ld fp,@(0,fp) 201 .text 202 .global ld_d2 203 ld_d2: 204 ld fp,@(fp,0) 205 .text 206 .global ldb 207 ldb: 208 ldb fp,@fp 209 .text 210 .global ldb_2 211 ldb_2: 212 ldb fp,@(fp) 213 .text 214 .global ldb_d 215 ldb_d: 216 ldb fp,@(0,fp) 217 .text 218 .global ldb_d2 219 ldb_d2: 220 ldb fp,@(fp,0) 221 .text 222 .global ldh 223 ldh: 224 ldh fp,@fp 225 .text 226 .global ldh_2 227 ldh_2: 228 ldh fp,@(fp) 229 .text 230 .global ldh_d 231 ldh_d: 232 ldh fp,@(0,fp) 233 .text 234 .global ldh_d2 235 ldh_d2: 236 ldh fp,@(fp,0) 237 .text 238 .global ldub 239 ldub: 240 ldub fp,@fp 241 .text 242 .global ldub_2 243 ldub_2: 244 ldub fp,@(fp) 245 .text 246 .global ldub_d 247 ldub_d: 248 ldub fp,@(0,fp) 249 .text 250 .global ldub_d2 251 ldub_d2: 252 ldub fp,@(fp,0) 253 .text 254 .global lduh 255 lduh: 256 lduh fp,@fp 257 .text 258 .global lduh_2 259 lduh_2: 260 lduh fp,@(fp) 261 .text 262 .global lduh_d 263 lduh_d: 264 lduh fp,@(0,fp) 265 .text 266 .global lduh_d2 267 lduh_d2: 268 lduh fp,@(fp,0) 269 .text 270 .global ld_plus 271 ld_plus: 272 ld fp,@fp+ 273 .text 274 .global ld24 275 ld24: 276 ld24 fp,foodata 277 .text 278 .global ldi8 279 ldi8: 280 ldi fp,0 281 .text 282 .global ldi16 283 ldi16: 284 ldi fp,256 285 .text 286 .global lock 287 lock: 288 lock fp,@fp 289 .text 290 .global machi 291 machi: 292 machi fp,fp 293 .text 294 .global maclo 295 maclo: 296 maclo fp,fp 297 .text 298 .global macwhi 299 macwhi: 300 macwhi fp,fp 301 .text 302 .global macwlo 303 macwlo: 304 macwlo fp,fp 305 .text 306 .global mul 307 mul: 308 mul fp,fp 309 .text 310 .global mulhi 311 mulhi: 312 mulhi fp,fp 313 .text 314 .global mullo 315 mullo: 316 mullo fp,fp 317 .text 318 .global mulwhi 319 mulwhi: 320 mulwhi fp,fp 321 .text 322 .global mulwlo 323 mulwlo: 324 mulwlo fp,fp 325 .text 326 .global mv 327 mv: 328 mv fp,fp 329 .text 330 .global mvfachi 331 mvfachi: 332 mvfachi fp 333 .text 334 .global mvfaclo 335 mvfaclo: 336 mvfaclo fp 337 .text 338 .global mvfacmi 339 mvfacmi: 340 mvfacmi fp 341 .text 342 .global mvfc 343 mvfc: 344 mvfc fp,psw 345 .text 346 .global mvtachi 347 mvtachi: 348 mvtachi fp 349 .text 350 .global mvtaclo 351 mvtaclo: 352 mvtaclo fp 353 .text 354 .global mvtc 355 mvtc: 356 mvtc fp,psw 357 .text 358 .global neg 359 neg: 360 neg fp,fp 361 .text 362 .global nop 363 nop: 364 nop 365 .text 366 .global not 367 not: 368 not fp,fp 369 .text 370 .global rac 371 rac: 372 .text 373 .global rach 374 rach: 375 .text 376 .global rte 377 rte: 378 .text 379 .global seth 380 seth: 381 seth fp,0 382 .text 383 .global sll 384 sll: 385 sll fp,fp 386 .text 387 .global sll3 388 sll3: 389 sll3 fp,fp,0 390 .text 391 .global slli 392 slli: 393 slli fp,0 394 .text 395 .global sra 396 sra: 397 sra fp,fp 398 .text 399 .global sra3 400 sra3: 401 sra3 fp,fp,0 402 .text 403 .global srai 404 srai: 405 srai fp,0 406 .text 407 .global srl 408 srl: 409 srl fp,fp 410 .text 411 .global srl3 412 srl3: 413 srl3 fp,fp,0 414 .text 415 .global srli 416 srli: 417 srli fp,0 418 .text 419 .global st 420 st: 421 st fp,@fp 422 .text 423 .global st_2 424 st_2: 425 st fp,@(fp) 426 .text 427 .global st_d 428 st_d: 429 st fp,@(0,fp) 430 .text 431 .global st_d2 432 st_d2: 433 st fp,@(fp,0) 434 .text 435 .global stb 436 stb: 437 stb fp,@fp 438 .text 439 .global stb_2 440 stb_2: 441 stb fp,@(fp) 442 .text 443 .global stb_d 444 stb_d: 445 stb fp,@(0,fp) 446 .text 447 .global stb_d2 448 stb_d2: 449 stb fp,@(fp,0) 450 .text 451 .global sth 452 sth: 453 sth fp,@fp 454 .text 455 .global sth_2 456 sth_2: 457 sth fp,@(fp) 458 .text 459 .global sth_d 460 sth_d: 461 sth fp,@(0,fp) 462 .text 463 .global sth_d2 464 sth_d2: 465 sth fp,@(fp,0) 466 .text 467 .global st_plus 468 st_plus: 469 st fp,@+fp 470 .text 471 .global st_minus 472 st_minus: 473 st fp,@-fp 474 .text 475 .global sub 476 sub: 477 sub fp,fp 478 .text 479 .global subv 480 subv: 481 subv fp,fp 482 .text 483 .global subx 484 subx: 485 subx fp,fp 486 .text 487 .global trap 488 trap: 489 trap 0 490 .text 491 .global unlock 492 unlock: 493 unlock fp,@fp 494 .text 495 .global push 496 push: 497 push fp 498 .text 499 .global pop 500 pop: 501 pop fp 502