Re: FW: Machine Code
Claudio Fontana <[email protected]>
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
--- Landon Blake <[email protected]> ha scritto: > Is it possible to write machine code instruction > directly to the computers memory > without using an assembler? Is > there an open source "binary file" editor memory or file? > that someone can recommend that will allow me to do > this? > > Do chip manafacturers typically provide an assembler > that compiles assembly language instructions into the machine code > for there processor, or does a programmer have to rely on > third parties for the > assemblers? There are assemblers provided by various parties, manufacturer included, for popular architectures and operating systems. > I'm just wondering if it is possible to write a > machine code file > directly without the need for an assembler. sure. For small trivial tasks (change one opcode, change static data) I use xxd and xxd -r (the reverse operation of xxd, a data dumper similar to od). man xxd > Landon CLaudio ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com