> > > > Here they manually encode the opcodes of five special debugging > instructions for the MSIM MIPS simulator (these instructions are not > part of the standard MIPS ISA, thus the assembler does not know them)." > > How the OpenBSD developers solve problems that are not resolved by > Assembly? >
When you can't write C, you write asm, when you can't write asm you write hex codes. Simple as that. Like the SYNCI macro here, http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/mips64/mips64/cache_octeon.c?rev=1.10&content-type=text/x-cvsweb-markup Most of the time I guess it would be code and instructions that exist for newer CPUs than the binutils/as know about or which is run in a generic "for all CPUs" mode and hence would not want to output cpu-specific instructions not covered by all cpu models. -- May the most significant bit of your life be positive.
