[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Assembly

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 24
Thread images: 3

File: SingaporeMathsQuestion.jpg (103KB, 781x568px) Image search: [Google]
SingaporeMathsQuestion.jpg
103KB, 781x568px
I want to learn assembly coding and debugging. Are there any /g/ approved books where I can start.
I've done Java on my own for the past 5 years. Any idea as to what to learn next?
>>
May 19th
>>
>I want to learn assembly coding and debugging
Assembly for what?
>native x86?
>an specific microprocessor?
>CISC or RISC?
>DOS
...
>>
>>55145490
>I've done Java on my own for the past 5 years.
Pajeet detected, shouldn't you be first learning how to poo in the loo?
>>
>>55145609
I actually started doing it during high school as a hobby.
BTW you're part of the cancer that's killing this place.
>>
>>55145490
>has programmed for 5 years
>is chiefly interested in learning a new programming language rather than any real application
>only knows 1 language
>>
>>55145596
Maybe a better question would be, where to start? Should I first dive into hardware architecture?
>>
File: autism.gif (240KB, 320x240px) Image search: [Google]
autism.gif
240KB, 320x240px
>>55145569
how did you solve it
>>
>>55145569
June 16
>>
>>55145648
Just eliminate options with multiple solutions, as they can only know if their told a unique number
>>
>>55145569
>>55145653
July not June 16, but yeah
>>
>>55145699
>>55145699
AH my bad, thanks. Wasn't paying attention as I'm waiting on this assembly question.
>>
>>55145648
the wording makes can make it difficult to follow

https://www.theguardian.com/science/alexs-adventures-in-numberland/2015/apr/13/how-to-solve-albert-bernard-and-cheryls-birthday-maths-problem
>>
>>55145733
Thanks kinda the point. Also the 18 and 19 are eliminated as Bernard would have known initially, since they're unique.
>>
>>55145490

Assembly Language for x86 Processors

Introduction to Assembly Language Programming For Pentium and RISC Processors

Professional Assembly Language

Assembly Language Step-by-Step - Programming with Linux, 3rd Edition
>>
File: 1440873784044.jpg (63KB, 720x720px) Image search: [Google]
1440873784044.jpg
63KB, 720x720px
>>55145770
My good man.
>>
>>55145648

It's a process of eliminating possibilities based on the statements.

Albert knowing the month, knows that Bernard can't know the date. This means the month Albert was given has no days as options that would give away the date (eliminates May and June, since the 19th is unique to May and the 18th is unique to June).

Remaining options: July 14 July 16 August 14 August 15 August 17

Bernard, after hearing that, now knows what the date is. That means the day he knows was an option in May or June, but with them out of the running, there is only 1 possible month left. Therefor, it can't be the 14th (since there would still be 2 months in the running).

Remaining options: July 16 August 15 August 17

Albert, after hearing that, now knows what the date is. For that to be true, the month he knew had to have only one day still in the running, so it had to be July.

Remaining option: July 16
>>
>>55145490
July 16th.

18 and 19th are unique, so albert is admitting that the birthday is in july or august when he says that he knows that bernard does not know.

This means that bernard must have been told 14, 15, 16, 17.

The fact that he knows means firstly, that it cannot be 14, as that date is not unique between the months, and secondly, that there is only one choice remaining, thus the month with two possibilities, July.

Albert now knows that, because bernard now knows, it must be the 16th (he already knows the month)
>>
>>55145490
>>55145770
>Assembly Language Step-by-Step - Programming with Linux, 3rd Edition

This.

It'll be a painful road, OP
>>
http://www.icengineering.com/umt/

Get this setup OP, it is a good introduction to the concept.
>>
I need to learn assembly for a specific microprocessor.
How do I do this? The difficulty is I've never done assembly programming language and our professor doesn't explain shit, he just pulls the old "you're a student, you need to learn independently" card, while giving us minimal instructions on how the microprocessor works.
>>
>>55145490
Avoid x86 when starting out; it's a cluster fuck
6502 ASM programming gives you a nice foundation since it's so simple, though you can and should branch out later on
>>
>>55145490
Learn C, then learn assembly, it comes pretty naturally once you know C. Don't both ever programming anything in assembly, apart from niche platform specific things and performance critical vectorized code.
>>
>>55145648
It's pretty easy to solve if you just assign values to Albert and Bernard and work through it. Assume that Albert was told "July" and that Bernard was told "16" and you'll see that their dialogue makes sense. It doesn't work for any other combination.
Thread posts: 24
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.