Re: from elsewhere, an assembler




Hi "cr88192",

[...about editor]
[]
Then you'll need your very own GUI displays and controls anyway.
Be aware of cursing yourself for your first decisions later in
the game (talking from own experience yet) when you have to break
your nails just to merge in additional functionality.

for asm?...
people take asm that seriously?...
I guess this is a different perspective from viewing it as simply
a good way of getting from an HLL to machine code...

Maybe I just talk for me yet (I wrote an whole OS in machine code),
but the problem with lateron changed structures applies to all
programming methods and often a rewrite from scratch is the only
solution then, also for VHLL-source (as you mentioned this below).


So my advice here is:
have your final target in mind from the very start.
well, current goal is to get better linking, and maybe working C
compilation.

Ok, what I wanted to say is 'reserve future idea items' in
all your structs in time, so you can avoid rewrite or detouring
adaption needs.


How many bytes are one "kloc" ?
... which is about on average 20.74 bytes per-line.

I see, KiloLinesOfSourceCode :)
Thanks, i wasn't sure about as the French use 'octets' for 'bytes'.


...., that was the whole reason for its existance.
otherwise, from my POV, there is not much reason to use
assembler directly anymore (not sufficiently portable, the current
baseline more likely being something like C).

I don't think ASM is dead, it just felt asleep for a while :)
CPU-specific code or source isn't too portable anyway.


[3-arg opcodes..]
sadly, my assembler at present can't parse/match them.
as it is, making it do so would be a bit of a change...

I'm afraid an assembler without it wont be accepted much.


I have run into a few ugly problems here...
earlier had started a post about it.

realized that there are a few possibly ugly beasts lurking in dynamic
linking, and I am at present unsure how I will deal with them exactly.

as is, they could make things become inflexible and brittle (with annoying
and likely versioning issues, ...). somehow I had failed to take into
account questions like:
what if some code changes in some non-trivial way?
what if a struct changes somewhere?
...

Unfortunately this problem exists (as said above).
The only solution I see would be a LIB-conversion tool,
manually converting will end up as complete rewrite.
But it's rumored that a few converters already exist.


[about '67']
?... '67'?

0x67 , the address size override prefix byte :)

mixed 16/32 bit code should work, at least in theory ...
The reason can be 'boot-code' and 'BIOS-calls'.
yes, but these are unlikely at present in my current apps (typically
operating purely within the confines of windows, and maybe eventually
linux).

Right, Linux seem to 'go BIOS' quite often.
Even many windoze core function rely on the BIOS
(the obligatory reboot needs after any hardware-fart).

Don't mixup '.a32'(address override) with 'bits 32'
a32 and .a32 are different directives,...

I see.

__
wolfgang



.



Relevant Pages

  • Re: from elsewhere, an assembler
    ... programming methods and often a rewrite from scratch is the only ... Linux seem to 'go BIOS' quite often. ... Even many windoze core function rely on the BIOS ... a32 and .a32 are different directives,... ...
    (alt.lang.asm)
  • Re: Newbie Experience
    ... BSD had to be *almost totally rewritten* to avoid AT&T ... I hardly find needing to rewrite less than half a percent ... than half a percent was a legal order to not use the name "Unix" but the ... Linux arose from ideas as presented in the POSIX standard and GNU ...
    (freebsd-questions)
  • Re: Microsoft not content with "dissing" just the Classic VB Devel
    ... I am a Classic VB programmer. ... major rewrite in order to work with RB. ... If I would do Mac or Linux programming, ... again C++ has more support for those platforms than Real BASIC. ...
    (microsoft.public.dotnet.general)
  • Re: Productivity in Assembly Language
    ... Feel free to show us how you can rewrite it in 1/10th the space. ... First, delete the Linux half. ... Second, adopt a\/b's syntax. ...
    (alt.lang.asm)
  • Re: OT laptop repair
    ... I doubt that a bios ... I remember having to rewrite the bios in an 820 ... >> In a laptop/notebook, cables are not prone to come loose or loose ...
    (rec.crafts.metalworking)