|
Ugh! I will keep your suggestion on the back burner, but quite frankly, I will lie if I tell you I understood every word you wrote. Note: The problem is my comprehension, not your suggestion! I just have to read your posting a few more times.
And: I have already downloaded the iso for Ubuntu (version 19 something). So I am ready to go the Ubuntu route if needed.
|
|
|
|
|
Try to take a look at this book "Assembly Language for x86 Processors", http://kipirvine.com/asm/ that is Windows and Visual Studio based textbook. Although it titled as x86 (32-bit) because of its history reason, it actually gives 64-bit assembly description almost at each chapter end. You also can find author's x64 libraries and practice 64-bit programming with VS. I am teaching ASM with this book for years and think it really a nice learning environment there.
|
|
|
|
|
Been there. Done ordering the book. It arrives next week. Thanks!
By the way: I see references to Kip's book all over the Internet. Very promising!
|
|
|
|
|
If you don't have the energy for assembly language and Linux, that's because of Linux. Throw it away. Actually, throw it away even if you decide not to learn assembly language.
|
|
|
|
|
I am going to start out with pure Windows Assembler. If I find that was a mistake, I will try Ubuntu.
|
|
|
|
|
I liked https://www.apress.com/us/book/9781484240625
|
|
|
|
|
It looked promising. It arrived today! Thanks.
|
|
|
|
|
Thanks to all who have replied. Much appreciated!
|
|
|
|
|
I use Easycode (www.easycode.cat) with GoAsm
|
|
|
|
|
I started a long time ago with 8048, 8080, TMS9900 and even DSP assembler.
Few years ago, I was doing signal processing for telecommunications. To optimize a major function I used assembly langage with SSE instructions.
My tools were :
- PellesC IDE (C, assembly)
- the Intel documentation
That was for x86 (32-bits) ; the C code could include assembly instructions.
The debugger can step through C or assembly code with access to the internal registers.
For AMD64, the assembly code must be handled separately ; that is a good choice.
That's my experience.
Good luck !
Henri
|
|
|
|
|
Is a thieving Alligator a Crookodile?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I don't know, perhaps we should have an investi-GATOR look in to it.
“The palest ink is better than the best memory.” - Chinese Proverb
|
|
|
|
|
sounds like a load of croc to me
this internet has become nothing but fake news.
... time to fix it, time to get back to the fax!
|
|
|
|
|
A "croc of sh*t", possibly!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Whether amphibian or tellin' you the truth, the scale of such remarks is be-caymian questionable.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
They take a bite out of crime
They call me different but the truth is they're all the same!
JaxCoder.com
|
|
|
|
|
This TOTD is off the scales!
/ravi
|
|
|
|
|
Maybe is a case of reptile allies
|
|
|
|
|
|
I need to think about that - can I get back to you - in a while?
Or maybe I will just see you later...
I, for one, like Roman Numerals.
|
|
|
|
|
Best make it snappy ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
So I need to resolve the "type" of a this reference, but I cannot do it without knowing how my object was created because what type arguments were used? This is where generics ridiculously complicate things.
I know how the C# compiler does it internally. Each generic instantiation is given its own "name" and type entry.
In the CodeDOM this just *can't* work that way. At least not in any fashion I can figure out. There is only one CodeTypeDeclaration for any given type, even if it is generic.
To make it otherwise would break the CodeDOM. I'm trying to use "userData" tags to mark up the codedom with extra information, but frankly, I don't even know how to "trace" the this reference back to the create object statement that brought it to life.
*scratches head*
I've taken breaks. I've even coded different stuff to cleanse my mind. It's just not coming to me.
I'm so frustrated right now. This project is an absolute bear.
Edit: I'm not even 100% sure this is the right approach even if I do figure it out.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
When I squint at C#, it kinda looks like C++.
If you know the Class to which the function in question belongs, isn't this a Class* , possibly const ?
For a C++ class template instance, I treat it as its own class, although it knows the template from which it was instantiated.
|
|
|
|
|
Greg Utas wrote: If you know the Class to which the function in question belongs, isn't this a Class* , possibly const ?
I do, and it is, though C# has no const modifier in that context.
The trouble is when generics (c#'s answer to C++ templates) are used.
I'd like to treat each template instantiation as its own class but I have nowhere to even put this alternative nametable i'd have to use, and to explain why would involve explaining the CodeDOM and my source up to this point.
It could be that I've painted myself into a corner. That's not unlikely as this is preliminary code I wrote in order to learn how to do this thing.
I don't know yet though. This whole thing is so confusing to me. It's basically the middle part of a compiler (type, member resolution, etc) because C# requires that in order to even be parsed properly.
It has a similar issue that C does in regard to parsing types, but it goes deeper. They just said to hell with simplifying parsing.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Just in case it will help, here is a sketch of how I handle it in C++.
Classes and class templates have type Class , one of whose members is an optional list of template parameters (e.g. <T> ).
Class template instances have type ClassInst , derived from Class . Rather than generate mangled names, I allow punctuation that can appear in a template argument list to be valid in an internal identifier. That identifier, with each of its constituent names fully qualified, gets added to the symbol table.
|
|
|
|