|
||||||||||||||||
|
||||||||||||||||
|
|
#1 |
|
Planted Tank Obsessed
|
So... Does anyone here regularly program in assembly?I'm actually in the midst of re-taking a course that I failed the first time because I just didn't grasp the concepts, full stop. Re-taking it; I'm muddling through a bit better, but the class (Computer Organization I) consists of the following topics: LC-3 programming/Assembly TRAP routines and sub-routines "The Stack"And to top it all off, our first programming assignment is to design and implement a 'binary <-> decimal' conversion program. We have the luxury of choosing which high-level programming language to use, but my last programming class was five semesters ago, so I'll essentially have to re-learn it anyway. And it's due on my birthday :/ So I have to finish two days ahead of time if I want to get drunk and behave like a hoodlum on my birthday weekend ![]() Thank goodness it's one of only two classes this semester (Yay graduation?!?!), otherwise I'd be utterly sunk. As it is, I'm only moderately mired in muck.
__________________
"Aquariums are like science, art, and hypno-therapy, all rolled into one," I insisted.
"You're not putting a hundred gallon tank in the living room," my roommate replied. 10g "Community" of nothing but Danios - 2g (barely) planted Betta - 2.5g Betta - 1g Pond Snail Repository My aquascape style tends towards 'tall in the back, short in the front, lots and lots of green and stuff. And maybe a rock somewhere...' |
|
|
|
| Sponsored Links | |||
Advertisement | |||
|
|
#2 |
|
Banned
|
I would so love to help you but my last bit of programming was in high school. In Fortran. Programming games on a mainframe.
What is your second class for the semester? Quantum physics? Wait. That's an easy A.
__________________
Quote me as saying I was misquoted.
The problem is you don't know what you don't know. Life is simple…People complicate it. On the west coast of the east coast of North America Here's to our wives and sweethearts - may they never meet. I can't live life at 140 characters |
|
|
|
|
|
#3 | |
|
Planted Tank Obsessed
|
Quote:
(My other class is my Anthropology capstone, which, while "writing intensive", will only aggregate about 15 pages over the whole semester, since my professor is of the "Concise article writing is more important than bloated 40-page final papers" mindset. Thank god.)
__________________
"Aquariums are like science, art, and hypno-therapy, all rolled into one," I insisted.
"You're not putting a hundred gallon tank in the living room," my roommate replied. 10g "Community" of nothing but Danios - 2g (barely) planted Betta - 2.5g Betta - 1g Pond Snail Repository My aquascape style tends towards 'tall in the back, short in the front, lots and lots of green and stuff. And maybe a rock somewhere...' |
|
|
|
|
|
|
#4 | ||
|
Zombie
|
Quote:
Quote:
As far as whether I program assembly regularly, not regularly enough. I've done it for some hobbyist work, but nowadays C is usually as "low-level" as I need to go.
__________________
|
||
|
|
|
|
|
#5 |
|
Planted Member
|
I dont think an AND gate is the same as an XOR with an inverter.
inverted XOR in1 in2 xor invertedxor 0 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 AND in1 in2 AND 0 0 0 1 0 0 0 1 0 1 1 1 Unless I misunderstood the statement. edit: Bah! the site took out all my column spacing.... |
|
|
|
|
|
#6 | ||
|
Planted Tank Obsessed
|
Quote:
Quote:
I'm lucky I can use a menu... But I have no idea how the conversion will work. My only thought is that I can create the binary using the 'remainder-division' thing and go bit-by-bit and output strings, but converting from one type of binary to the other will be difficult, and I have no idea how the binary -> decimal will work :/
__________________
"Aquariums are like science, art, and hypno-therapy, all rolled into one," I insisted.
"You're not putting a hundred gallon tank in the living room," my roommate replied. 10g "Community" of nothing but Danios - 2g (barely) planted Betta - 2.5g Betta - 1g Pond Snail Repository My aquascape style tends towards 'tall in the back, short in the front, lots and lots of green and stuff. And maybe a rock somewhere...' |
||
|
|
|
|
|
#7 |
|
Planted Member
|
Ah! Thats better... DeMorgans Theorem.
Stacks are easy too. If you've ever used an HP reverse polish calculator, thats a stack computer. Not many people use them nowadays though. |
|
|
|
|
|
#8 |
|
Bow ties are cool
|
ewww, assembly... Why would you go there where there are much better & easier to understand languages out there. I haven't touched assembly since I was 12 yo.
__________________
DIY High Tech Tank forum
http://aquatictechtank.net A forum dedicated to design and program aquatic tanks |
|
|
|
|
|
#9 | |
|
Planted Tank Obsessed
|
Quote:
You were touching assembly when you were 12? *grumbleeffincomputerprodigiesgrumble* Lol; It's a basic, ground-up approach to learning computer systems. But I'll be honest, I wouldn't have taken it if I knew what it entailed; "Computer Organization" I was kind of expecting MOBO connects to the Processor, Screen connects to the GFX card... Not, "This is how you write -53 in four different kinds of binary, now make a calculator by typing in ones and zeros."
__________________
"Aquariums are like science, art, and hypno-therapy, all rolled into one," I insisted.
"You're not putting a hundred gallon tank in the living room," my roommate replied. 10g "Community" of nothing but Danios - 2g (barely) planted Betta - 2.5g Betta - 1g Pond Snail Repository My aquascape style tends towards 'tall in the back, short in the front, lots and lots of green and stuff. And maybe a rock somewhere...' |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|