Author Topic: Help with Assembly  (Read 374 times)

0 Members and 1 Guest are viewing this topic.

Offline Сєşάя

  • *****
  • Posts: 631
  • Gender: Male
  • I used to be annoying
  • Respect: +72
Help with Assembly
« on: April 02, 2011, 03:14:05 PM »
0
Who know how to program with Assembly?

Offline ursus

  • ***
  • Linux UserCat LoverWindows UserOld Forum Member
    View More Badges!

  • Posts: 4393
  • Gender: Male
  • drunkposting is the music of the soul
  • Respect: +1518
Re: Help with Assembly
« Reply #1 on: April 02, 2011, 03:15:15 PM »
0
Assembly is a sacred power, handed down through the generations only to those who are found worthy by the programming gods.

You're unlikely to find someone who does, I doubt that minic/ruben/coolz know it.


Offline » Magic «

  • i play pc computer
  • ***
  • Windows UserLinux UserLeague PlayerOld Forum MemberCat LoverDedicated Summoner
    View More Badges!

  • Posts: 5075
  • Gender: Male
  • ↑ ↑ ↓ ↓ ← → ← → B A
  • Respect: +782
    • MagiCorp
Re: Help with Assembly
« Reply #2 on: April 02, 2011, 03:32:14 PM »
+1
Who's asking you to learn about this? School or self?

If School search reary hard

If Self give up

Offline Сєşάя

  • *****
  • Posts: 631
  • Gender: Male
  • I used to be annoying
  • Respect: +72
Re: Help with Assembly
« Reply #3 on: April 02, 2011, 05:54:30 PM »
0
Who's asking you to learn about this? School or self?

If School search reary hard

If Self give up

I want to learn for myself and not give up.

Offline Сєşάя

  • *****
  • Posts: 631
  • Gender: Male
  • I used to be annoying
  • Respect: +72
Re: Help with Assembly
« Reply #4 on: April 02, 2011, 06:16:52 PM »
0
Soon-soon make an operating system...with Assembly!!!

Offline Minic

  • *
  • Windows UserLinux UserApple UserOld Forum MemberrNd Developer
    View More Badges!

  • Posts: 42
  • Respect: +84
Re: Help with Assembly
« Reply #5 on: April 03, 2011, 05:19:24 AM »
0
I doubt that minic/ruben/coolz know it.
Never under estimate those whom you don't know very well. ;)



http://filesmelt.com/dl/minicdunoasm.png


Big resolution is big, dual display, sorry.


Anyway, now a days... Every micro controller/processor on the face of the Earth at least has a C compiler, theres very little reason to actually write assembly.

Knowing it though is still very priceless when it comes to debugging, and even more so to reverse engineering.

Even going as low as writing an operating system... Theres little need for assembly, but to be totally honest, knowing assembly is nothing when it comes to operating system design.

It is not trivial what so ever to design, let alone write an operating system from scratch... In my opinion, its totally not plausible to do alone, or even needed these days. There are tons of rock solid, FREE operating systems available.

Sure its fun to think about it from a purely academic perspective though. I'm just a realist. I know the amount of work involved, and the underlying complexities of even the most mundane and trivial parts.

Think about it, assembly is just a language, all languages are relatively simple, it's what you do with it that gets complex.

Now think about this, have you ever designed / implemented a STABLE file system? Ever actually thought about it? What about a task scheduler? What about a simple VGA driver? It's not trivial. It's not assembly thats hard, the hard part is actually writing an operating system LOL. Even though most of it would be written in C / C++ for sure.

Anyway, OS design is a fun topic to discuss, so I'm all in. ;D


 :fullheart: :linux:

Offline Сєşάя

  • *****
  • Posts: 631
  • Gender: Male
  • I used to be annoying
  • Respect: +72
Re: Help with Assembly
« Reply #6 on: April 03, 2011, 08:46:17 AM »
0
Never under estimate those whom you don't know very well. ;)



http://filesmelt.com/dl/minicdunoasm.png


Big resolution is big, dual display, sorry.


Anyway, now a days... Every micro controller/processor on the face of the Earth at least has a C compiler, theres very little reason to actually write assembly.

Knowing it though is still very priceless when it comes to debugging, and even more so to reverse engineering.

Even going as low as writing an operating system... Theres little need for assembly, but to be totally honest, knowing assembly is nothing when it comes to operating system design.

It is not trivial what so ever to design, let alone write an operating system from scratch... In my opinion, its totally not plausible to do alone, or even needed these days. There are tons of rock solid, FREE operating systems available.

Sure its fun to think about it from a purely academic perspective though. I'm just a realist. I know the amount of work involved, and the underlying complexities of even the most mundane and trivial parts.

Think about it, assembly is just a language, all languages are relatively simple, it's what you do with it that gets complex.

Now think about this, have you ever designed / implemented a STABLE file system? Ever actually thought about it? What about a task scheduler? What about a simple VGA driver? It's not trivial. It's not assembly thats hard, the hard part is actually writing an operating system LOL. Even though most of it would be written in C / C++ for sure.

Anyway, OS design is a fun topic to discuss, so I'm all in. ;D


 :fullheart: :linux:

I agree.
Many programming languages, same thing, different syntax.
The RND can make an OS... LOL :))

Offline Сєşάя

  • *****
  • Posts: 631
  • Gender: Male
  • I used to be annoying
  • Respect: +72
Re: Help with Assembly
« Reply #7 on: April 07, 2011, 09:12:15 AM »
0
Where I can find tutorials of Assembly?

Spoiler (click to show/hide)

Offline Xrain

  • *****
  • DWO PlayerOld Forum Member
    View More Badges!

  • Posts: 751
  • XRain - King of TL;DR
  • Respect: +635
Re: Help with Assembly
« Reply #8 on: April 11, 2011, 04:08:35 PM »
0
Where I can find tutorials of Assembly?

Spoiler (click to show/hide)

Here you go.
http://tinyurl.com/3ur4v7c
" I don't take square roots, I make them. Then I set them out to cool after I baked them for 40 minutes."
"It's Canadia, not Chlamydia."
"Hold on I just have to ddos myself"
~Coolzeldad~

"I'm like 12 in my head" screen when I do video?"
~Minic~

Offline Travelsonic

  • *****
  • Posts: 743
  • We're gonna need a new obstacle course...
  • Respect: +78
Re: Help with Assembly
« Reply #9 on: April 16, 2011, 01:31:30 PM »
0
Even going as low as writing an operating system... Theres little need for assembly, but to be totally honest, knowing assembly is nothing when it comes to operating system design.

It is but one of the components - a solid understanding of computer system architecture theory - and the architecture of the system you run [and presumably will be testing the potential project on] is another big key.

So far in my studies, I have made it through one computer architecture course I took, and am partway through the one I'm in now.   [I'm going for an associates in Comp. Sci [before going on my [B.A? B.S?] and maybe eventually my masters from there], the curriculum where I am requires 2 courses on the subject of computer system architecture.].  After making it through the first one, and making it halfway through the second course so far, my understanding of all the theory taught makes learning assembly so much easier than when I tried teaching myself Assembly before... maybe that is just how I learn for all I know, but whatever.

... or even needed these days. There are tons of rock solid, FREE operating systems available.

But, strictly IMO of course, the presence of those OSes do not at all detract from the challenge and learning experience of trying to program even the simplest OS on your own [or with others].
« Last Edit: April 16, 2011, 01:37:28 PM by Travelsonic »
lim ( Δ :trollface: -> 0 ) (:trollface: + Δ :trollface:)² + :trollface: = :trollface:

Offline Сєşάя

  • *****
  • Posts: 631
  • Gender: Male
  • I used to be annoying
  • Respect: +72
Re: Help with Assembly
« Reply #10 on: May 29, 2011, 11:51:47 AM »
0
Look at a part of my program in Assembly:

os_call_vectors:
   jmp os_main         ; 0000h -- Called from bootloader
   jmp os_print_string      ; 0003h
   jmp os_move_cursor      ; 0006h
   jmp os_clear_screen      ; 0009h
   jmp os_print_horiz_line      ; 000Ch
   jmp os_print_newline      ; 000Fh
   jmp os_wait_for_key      ; 0012h
   jmp os_check_for_key      ; 0015h
   jmp os_int_to_string      ; 0018h
   jmp os_speaker_tone      ; 001Bh
   jmp os_speaker_off      ; 001Eh
   jmp os_load_file      ; 0021h
   jmp os_pause         ; 0024h
   jmp os_fatal_error      ; 0027h
   jmp os_draw_background      ; 002Ah
   jmp os_string_length      ; 002Dh
   jmp os_string_uppercase      ; 0030h
   jmp os_string_lowercase      ; 0033h
   jmp os_input_string      ; 0036h
   jmp os_string_copy      ; 0039h
   jmp os_dialog_box      ; 003Ch
   jmp os_string_join      ; 003Fh
   jmp os_get_file_list      ; 0042h
   jmp os_string_compare      ; 0045h
   jmp os_string_chomp      ; 0048h
   jmp os_string_strip      ; 004Bh
   jmp os_string_truncate      ; 004Eh
   jmp os_bcd_to_int      ; 0051h
   jmp os_get_time_string      ; 0055h
   jmp os_get_api_version      ; 0057h
   jmp os_file_selector      ; 005Ah
   jmp os_get_date_string      ; 005Dh
   jmp os_send_via_serial      ; 0060h
   jmp os_get_via_serial      ; 0063h
   jmp os_find_char_in_string   ; 0066h
   jmp os_get_cursor_pos      ; 0069h
   jmp os_print_space      ; 006Ch
   jmp os_dump_string      ; 006Fh
   jmp os_print_digit      ; 0072h
   jmp os_print_1hex      ; 0075h
   jmp os_print_2hex      ; 0078h
   jmp os_print_4hex      ; 007Bh
   jmp os_long_int_to_string   ; 007Eh
   jmp os_long_int_negate      ; 0081h
   jmp os_set_time_fmt      ; 0084h
   jmp os_set_date_fmt      ; 0087h
   jmp os_show_cursor      ; 008Ah
   jmp os_hide_cursor      ; 008Dh
   jmp os_dump_registers      ; 0090h
   jmp os_string_strincmp      ; 0093h
   jmp os_write_file      ; 0096h
   jmp os_file_exists      ; 0099h
   jmp os_create_file      ; 009Ch
   jmp os_remove_file      ; 009Fh
   jmp os_rename_file      ; 00A2h
   jmp os_get_file_size      ; 00A5h
   jmp os_input_dialog      ; 00A8h
   jmp os_list_dialog      ; 00ABh
   jmp os_string_reverse      ; 00AEh
   jmp os_string_to_int      ; 00B1h
   jmp os_draw_block      ; 00B4h
   jmp os_get_random      ; 00B7h
   jmp os_string_charchange   ; 00BAh
   jmp os_serial_port_enable   ; 00BDh
   jmp os_sint_to_string      ; 00C0h
   jmp os_string_parse      ; 00C3h
   jmp os_run_basic      ; 00C6h
   jmp os_port_byte_out      ; 00C9h
   jmp os_port_byte_in      ; 00CCh

Offline Shawn

  • ******
  • Windows UserOld Forum Member
    View More Badges!

  • Posts: 2675
  • Gender: Male
  • IGM: Shawn /Steam ID: Shawnchapp
  • Respect: +373
    • The Vault
Re: Help with Assembly
« Reply #11 on: May 29, 2011, 12:10:10 PM »
0
Misleading title >:( "Help with Assembly"

I was hoping your topic was going to be about stupid IKEA instrustion :(

Offline Deacon

  • The righteous rise, with burning eyes
  • ***
  • DonatorDWO Player
    View More Badges!

  • Posts: 4482
  • Gender: Male
  • of hatred and ill-will
  • Respect: +1788
Re: Help with Assembly
« Reply #12 on: May 30, 2011, 03:16:55 AM »
+1
Misleading title >:( "Help with Assembly"

I was hoping your topic was going to be about stupid IKEA instrustion :(

shawn needs help putting together his new bookshelf

Offline Сєşάя

  • *****
  • Posts: 631
  • Gender: Male
  • I used to be annoying
  • Respect: +72
Re: Help with Assembly
« Reply #13 on: May 30, 2011, 07:42:32 AM »
0
Misleading title >:( "Help with Assembly"

I was hoping your topic was going to be about stupid IKEA instrustion :(


I do not know if you noticed but I posted a month after the last post. I had a little time enough to learn a little Assembly.

Offline Shawn

  • ******
  • Windows UserOld Forum Member
    View More Badges!

  • Posts: 2675
  • Gender: Male
  • IGM: Shawn /Steam ID: Shawnchapp
  • Respect: +373
    • The Vault
Re: Help with Assembly
« Reply #14 on: May 30, 2011, 09:04:52 AM »
0
shawn needs help putting together his new bookshelf

Gah of course I would need help if i ever tried using Ikea instructions have you ever tried using them? They make no sense at all!