An x86 disassembler is not that hard, as long as you stick to a single mode and ignore the SIMD alphabet soup.
You have a short loop that scans through the prefixes, checks for a REX prefix (if you handle 64-bit mode), reads the opcode (1-3 bytes), reads the MOD/RM byte if there is one (use a table lookup), reads the SIB byte if there is one (table), reads offset if there is one (table), reads immediate if there is one (table).
It's probably easiest if you use an "expanded/normalized" opcode internally so the 1-3 opcode bytes + the 3 extra bits from some MOD/RM bytes + prefix info (for certain SIMD instructions) map to a single 16-bit opcode (likely around a couple hundred to a thousand opcodes in total).
You have a table that maps those to mnemonics + operand info. You have some tables that map 0-7 (or 0-15) to AL/AH/... and AX/BX/CX/... and CS/DS/ES/... and various system registers.
Not that much code all in all. Several tables. You can squeeze them and bit pack them to your heart's content if you want.
Once you have that, a simple assembler isn't so hard.
There's actually a really good argument in favour of that -- and in favour of paying income tax not as a direct tax (withheld from wages) but with a delay.
It makes the taxes visible and painful and they will therefore (potentially) not rise as fast or as much.
It also puts more tax burden on the less wealthy. Sales tax is regressive; income tax is progressive.
But yes, that’s exactly why the American right makes taxation so cumbersome and horrible: to make people think that taxes are bad, as there’s this assumption you can have civilization without paying for it.
I think that's an argument, but not necessarily a good one
Need to balance transparency in pricing vs. visibility of taxes. I don't think sales taxes are actually all that visible most of the time- it's not like the cashier is telling you "and your taxes are $X." But it does make it much harder to detect if the store is charging you more than list price.
That's not necessarily a good thing. Do the New Americans want the same things as the pre-existing ones? Are they as capable? Not just "in a few generations" but here and now? Are they even likely to be as capable "in a few generations"?
If the statistics aren't very wrong, it doesn't seem like a solution.
by all statistics, it is Americans that make the life in the USA insufferable: corrupt politicians, oligarchs, lobbyists, party leaders, and criminals (the ones that sell drugs and shoot people).
go to any county/state jail and try to find a single H-1B visa holder there... its all home grown foundational Americans, raised on McDonalds and Coke
The one-child policy didn't play as large a role as people in the West think. Chinese fertility rates had already fallen drastically before that policy.
(It was also not as absolute as people in the West think. There were exceptions for rural China and minorities.)
So would we be able to get the exact same deal we had? We are under the impression the answer is no, as whenever we try and negotiate away stuff that's in neither of our interests it gets rejected.
Take this Eitas Visa for example, this is literally just sowing resentment towards the EU in the UK. It benefits nobody and is totally insane, it's just making people hate the EU. Same with not being able to use the digital passport machines at airports.. why?? We're a pretty secure country, we have digital passports. Brexit happens and now every time I go to Europe, which is a lot I've got a 50/50 chance of waiting 3 hours at the border for someone to stamp my passport while the digital gates have no queue. That means I now have to arrive 3 hours early every time just in case. If I bring a tool for work I need to spend weeks of paperwork on something called a carnet so I end up buying there and throwing out.
At the moment we're trying to give security backing for Ukraine and you're asking us to give up our fishing rights for the honour of helping secure Europe.
I get it, actions have consequences, but the thing is that only a minority voted for Brexit, most of us didn't. Each year you're disenfranchising a new generation of would be Europeans with this path. To me it's all dreadfully regrettable, the whole things a mess.
It's impossible for us to 'come to our senses' while we get treated like this in my view.
I am aware. Of course, if you require a visa from us then it becomes politically impossible NOT to require a visa from you in return. We were very clear that we didn't want it at all.
Re the fish;
>But in an interview with POLITICO, the minister said EU member governments were unlikely to sign off on a security deal with the U.K. unless negotiations are also resolved on other “sensitive” issues, including access to British waters for European fishing fleets. A deal on fish would also help in “building trust” between London and Brussels, she added.(1)
It's just a combination of low turn out and a 52/48 marginal split, it does not mean we have a failure of democracy, that's a bit of a stretch.
>At the moment we're trying to give security backing for Ukraine and you're asking us to give up our fishing rights for the honour of helping secure Europe.
You are not trying to secure Europe, you are trying to sell something to Europe. We would rather build capacity to make whatever you want to sell us ourselfs.
I agree we should work closely together, more so after US started dancing naked around burning brides. But everyone is looking into how to secure themselfs, without depending on 3rd party, and from EU's perspective UK is on the outside (even if not as crazy as US has become).
You'd rather build capacity because you think you're likely to be at war with us one day or we'd stop defending Europe? That would be the only reason to say that surely? If so I simply don't know what to say to that.
So then you won't be wanting our troops there for peace-keeping, something only ourselves and France have even offered. Nor any of our finance, we can stop giving billions a year to Ukraine as the EU want to take over?
Seriously it's ridiculously isolationist to be thinking like this. Not working with us just because we left your club is beyond mad.
1.those are not the only options, far from it. If EU buys from 3rd party, that party gets to dictate what we can do with those weapons. How long have EU countries been asking US to allow them to transfer F-16, longer ranged artillery, missiles, MBT,... to Ukraine?
Also, lets remember that UK has prevented shipping vaccine manufactured there to 3rd countries, even when some other country paid for it already. EU did not do that.
2. Thank you for confirming our fears. We decide not to buy something for you and now you go full crybaby and deny Ukrain help. Yes, you guys sound like totally dependable.
3. It's not isolationist and we do want (or should want to) cooperate with you, but Eu has just learnt what happens if you outsource your own defense and US elects idiot for the 2nd time.
And lets not forget that you have political party on the rise, (Reform UK), that seems to be a bit too friendly with Trump, Farage supposedly received money from RT (russ sponsored Tv) in 2022.
One of your previous PMs (Boris Johnson) had appointed Russian oligarch as Lord and is said to have ditched his own security to party with Russian intelligence officers while he was in office.
So, if eu and russia come to blows, whos side will UK be on? Depends on what party is in government.
That's nonsense, but even if we take as true for a moment;
The argument here is they don't want to buy our weapons because we might decide to stop selling to them. Do you really see that as even vaguely likely in a war against Russia?
We want to make our own weapons because depending on someone else can be more costly.
But some parties in UK do have worrying ties to Russia (reform uk and conservatives). I mean who would have thought that Republicans in US would be 3rd best allies of Putin, right after China and North Korea
If you put Joe Biden and Trump side by side, and asked a random person who didn't know either who was the most likely to have dementia, they would pick Trump. I'm not sure I've ever heard him say something that didn't sound like word salad.
reply