[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Object oriented assembly is it possible

You are currently reading a thread in /g/ - Technology

Thread replies: 17
Thread images: 1
File: istock_000006030012xsmall.jpg (165 KB, 425x282) Image search: [Google]
istock_000006030012xsmall.jpg
165 KB, 425x282
Object oriented assembly is it possible
>>
I think you are missing the point of what assembly is. Just short concise commands that make up a program. No OOP horseshit, just simple 1,2,3.

Or perhaps this is really shitty bait, in which case come on OP. You can do better
>>
>>50794566
perfect pic OP
>>
>>50794566
truly intredasting
>>
>>50794566
make a cpp project
compile to assembly object files
-> object oriented assembly
whew that was hard
>>
Sure, you can pretend that assembly is object oriented. It'd be up to you to enforce your own rules for that, though. The assembler isn't going to help you out.
>>
Really though can't u say all oop implementations are ultimately assembly?
>>
>>50797149
No. Most languages compile straight to machine code.
>>
>>50797281
Which assembly is just cute names for each opcode so it's the same. Makes u think...
>>
>>50797303
No, most assembly languages aren't 1-to-1 conversion to machine code. ARM and x86 assembly especially.
>>
>>50794566
Maybe

Can the machine understand the objects or is it just translated into more basic instructions?
>>
>>50794566
Ofcourse.
>>
>>50797281
No language does that.
>>
like teaching a horse to add numbers
>>
>>50797303
A bit more than that. They allow symbols / labels for branching, subroutines, etc. They generally allow macros. They also allow other evaluations prior to assembly.
>>
Why wouldn't it be possible? Just design a architecture with OO concepts. The Assembly language would follow
>>
HLA? Not really pure assembly more of a pet language made as a teaching tool that has a ton of extra junk added in for convenience.
Thread replies: 17
Thread images: 1

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK