Memory Locations in Assembly

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • Write a value to an explicit location in memory.
    Flat Assembly compatible with NASM

ความคิดเห็น • 13

  • @kevindalli2464
    @kevindalli2464 2 หลายเดือนก่อน +1

    All of your videos are insanely underrated, its hard to find anyone interested in low level ASM programming these days.
    I have always found assembly hard to get into, but I have to thank you for your good explanations into basic assembly concepts.

    • @dillingerlee2536
      @dillingerlee2536  2 หลายเดือนก่อน +1

      Much appreciated. Your kind words keep me going. I had so much difficulty finding sources to get started as they were scattered all over the place and incompatible with one another. So I felt there was a gap in what was freely available that needed to be filled. Would have preferred some PhDs who were far more knowledgeable on the topic had already done so. But of course back when this was the thing there were no TH-cams. So I feel like much of this has turned into forgotten knowledge as far as what is free in video format and doesn't cost you $800 a unit to learn.

  • @ghilleau
    @ghilleau 2 หลายเดือนก่อน +1

    Appreciate the videos, I find it fascinating with the way you articulate your words and how you elaborate on what you're doing, being a younger programmer who's only starting out, these video's really help me gain an understanding on ASM.

    • @dillingerlee2536
      @dillingerlee2536  2 หลายเดือนก่อน +1

      Thank you. That is pretty much the target audience I was aiming for. I took a lot of critique in the earlier videos from veteran programmers who are just looking for quick answers to their immediate problems. I expected that, but I wanted to make it so an 8 year old with very little prior computer knowledge could follow along and also understand what they are doing.

  • @maxmuster7003
    @maxmuster7003 2 หลายเดือนก่อน

    default DS segment
    [0x9000] = ds:9000
    [bx] = ds:bx
    [si] = ds:si
    [di] = ds:di
    default SS
    [bp] = ss:bp

  • @maxmuster7003
    @maxmuster7003 2 หลายเดือนก่อน +1

    I like to use x86 assembly with DosBox emulator, Debug and batch files.
    We start with a com file with CS=DS=SS shared 64 kb segment, but we can order more RAM from DOS and we can use file handle to load files into the memory. And we can use FPU instructions and 32 bit instructions. For Debug we have to use hexadecimal values only.

    • @dillingerlee2536
      @dillingerlee2536  2 หลายเดือนก่อน +1

      A very useful tip. I figured I would have to learn Borland Turbo before too long which I believe comes with DosBox so I can port more examples written in that flavor over to Flat Assembly. I can see where Debug's ability to read Registers could be quite handy. When I first wanted to learn Assembly there were no TH-cam videos to mention. Now there are a mess of them. With the emphasis on mess. Hard to string all the chaos into an understandable chain of information sometimes. Thanks for the pointer.

    • @maxmuster7003
      @maxmuster7003 2 หลายเดือนก่อน

      @@dillingerlee2536 I use a special Debug version that works like Debug from MS DOS, but provide 32 bit instructions.

    • @dillingerlee2536
      @dillingerlee2536  2 หลายเดือนก่อน +1

      @@maxmuster7003 Can you make a getting started video in plain English that coincides with my videos? You know using Flat Assembly instead of Borland Assembly? I would be happy to reference that in my Playlist. Although I think it's a bit premature to introduce that at this time. A little further down the line it may actually be a necessity. So that could be a time saver for what I'm trying to to accomplish. Clearly I will need to make some kind of Rosetta Stone to reconcile the various flavors of Assembly.
      I think what I am doing is "Assembly" while the majority of the world has gravitated to Gnu Assembly, Borland Assembly, or Visual Studio Assembly. Yet everybody else has a chip on their shoulder and calls their flavor "Assembly" and I am relegated now to referring to the original Assembly as "Flat Assembly". Getting almost impossible to find code references any more. I feel it is a vanishing language if you can no longer find it on Search Engines. So I'm kind of making this desperate attempt to preserve it all somehow in a 100% video documented format.

    • @maxmuster7003
      @maxmuster7003 2 หลายเดือนก่อน

      @@dillingerlee2536 I have zero practice for talking in the english language and the microphone of my Android tablet sounds bad. I used MASM in DOS and NASM on Linux both with the intel syntax. I never used AT&T syntax. I began to learn assembly on Comodore C64 and then i switched to a PC with 80286, MS DOS 5 and Debug without to have internet. Some years later i visit a few news groups for x86 assembly. I found the best documentation in the pdf file Intels developer manual for 80386.

    • @maxmuster7003
      @maxmuster7003 2 หลายเดือนก่อน +1

      I have zero practice for talking in english and the microphone of my Android tablet sounds bad. I used MASM in DOS and NASM on Linux both with the intel syntax. I never used AT&T syntax. I began to learn assembly on Comodore C64 and then i switched to a PC with 80286, MS DOS 5 and Debug without to have internet. Some years later i visit a few news groups for x86 assembly using a V90 modem. I found the best documentation in Intels developer manual for 80386.