9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] How the Plan9 developers solve problems that are not resolved by Assembly?
@ 2014-10-20 15:44 françai s
  0 siblings, 0 replies; only message in thread
From: françai s @ 2014-10-20 15:44 UTC (permalink / raw)
  To: 9fans

I think that the only case where you have to resort to writing binary
code manually
is when the assembler cannot output the desired code for some reason.
If I recall correctly, there is only one such case in the HelenOS
sources:

http://trac.helenos.org/browser/mainline/kernel/arch/mips32/include/debug.h?rev=mainline%2C1446.3.1

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).

But the developers of FreeBSD not write binary code manually.

How the Plan9 developers solve problems that are not resolved by Assembly?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-20 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-20 15:44 [9fans] How the Plan9 developers solve problems that are not resolved by Assembly? françai s

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).