I have an experience to share as a new contributor to unix.stackexchange.com where I sensed some slight undercurrents of prejudice. It would be great to receive a response from the moderators mentioned here but any input, technical or otherwise, from others is welcome. I was not able to respond...
are there translation packages available for between the most common assembly languages that exist? i nasm seems relatively beginner friendly so i went with that package, but i was just curiois coz it said in the tutorial assembly is a very hardware specific thing
@AdamL there’s att2intl which can translate AT&T assembly to Intel syntax, but that’s on x86; you can’t really translate from one architecture to another, you need to port manually
@StephenKitt just top off the gas when you're done; thanks! If we can lay some nice desert stone down instead of the grass, I'd love to have less maintenance there. Thanks so much!
@StephenKitt been meaning to get that installed, sorry. I could try moving the one from the mower, but it'll take some ASM translation :)
user435118
4:46 PM
I'm trying to install Linux Mint on a VM running on Windows 10. When I install Linux Mint if I click "Erase disk and install Linux Mint" during install, will it delete my Windows files?
@Xnero I mean, they aren't my files that would get deleted, and I can't see your screen, but if the installer sees a ~20 Gb "sda" disk, that would reassure me in your shoes.
If there's a way to ask the installer to show you more details about that disk...?
@StephenKitt thanks, so in your view am I starting to learn with the right assembler, or should I make a switch now before i get further into things? I wanted to learn by perhaps if they exist a disassembler that i can use to produce the instruction set file or .asm file if that is universal, for basic Unix commands, i feel like that might accelerate the learning process for me to then reassemble those to see how the assembly language works for my OS
and yes no politics here is a good call, but they will ban me pretty quick i havent been the most mature in that se community, they deleted the first and last paragraph which were my favorites which is why i had to screen shot.
@AdamL nasm is a good choice IMO. You won’t find a universal assembly language; each architecture has its own set of mnemonics, and each assembler has its own idiosyncracies. I’m not sure disassembling existing binaries is all that useful when learning assembly — if you want to look at the assembly corresponding to compiled code, you’d be better off asking the compiler to produce the assembly, since that will show the correspondence between the higher-level language and the corresponding
assembly (but will typically end up using AT&T syntax, not Intel).
I learnt assembly æons ago so I don’t know what decent tutorials are available nowadays. As Andras says you can also use Godbolt to see what assembly is produced by various compilers.
If someone is learning assembly just for the sake of it I'd probably suggest aiming at MIPS instead of x86. There are a lot more educational materials for that and it's more comprehensible
Not useful if you really do want to write for your physical machine, though
As of the LVM in Debian stretch (9.0), namely 2.02.168-2, it's
possible to do a copy of a logical volume across volume groups using a
combination of vgmerge, lvconvert, and vgsplit. Since a move is
a combination of a copy and a delete, this will also work for a move.
Alternatively, you can use p...
Unfortunately, I currently don't understand what the answer is saying.
user435118
@FaheemMitha Yeah. Actually I always do a backup, never needed it and then last time I did some installation I decided not to do one, it failed and I didn't have a backup that time :/
@Xnero Always do backups, because you don't know when you will need one. And not just during installations. Ideally, you should have an automated backup running all the time. Ideally multiple independent ones.
Also, use distributed version control, because that's a pretty effective backup system right there, assuming you can remember to push stuff off the disk.
user435118
11:41 PM
@FaheemMitha I only recently got my laptop so I am still configuring it but I'll make sure to set up automatic backups.
@AndrasDeak I think the idea is to see how well the compilers are doing, and to perhaps understand what they are doing a bit better. Probably mostly of interest to compiler writers.
Though I don't understand why this service is necessary if the compilers can generate the assembly themselves. Though I guess perhaps the main point is that most people would not have access to all those compilers.