flat assembler
Message board for the users of flat assembler.
Index
> Main > A Flat Assembler Codebase. |
Author |
|
AsmGuru62 19 Jun 2023, 19:46
What is "Interpolation"?
Is it like a string library with common operations, like search strings for parts or extract sub-strings and so on (insert/remove string parts, etc.)? |
|||
19 Jun 2023, 19:46 |
|
Flier-Mate 20 Jun 2023, 06:30
For No. 8, you can add File Manipulation (create new, open existing, file read /write).
|
|||
20 Jun 2023, 06:30 |
|
asmblr_88 20 Jun 2023, 09:23
AsmGuru62, I think you just made me realize something, and I feel kind of dumb about it. So regarding program 06. String Interpolation, the program that I wrote along with help from Flier-Mate and redsock is probably more like performs a string concatenation rather than interpolates the string.
Interpolating a string in my mind is to insert a processed variable or constant into a string. For example in C we would: printf("Hello, %s!", name); It is formatting a string to contain processed information to print to the screen. Please correct me if I am wrong as I am still learning! Much thanks to everyone! Flier-Mate, that is a great idea! Thank you for the suggestion. I will work on it! By the way any suggestions on storing this code in github or in the code examples section of the Fasm Board? I feel like a website would be good because I would like to add algorithms and flowcharts, etc. I already started building the website a while back, but I had to postpone it due to school exams. I will continue it soon. I want to break these programs into drafts similar to Jeff Duntemann as he did in his book "Assembly Step-By-Step". |
|||
20 Jun 2023, 09:23 |
|
AsmGuru62 20 Jun 2023, 14:18
I see.
So, it is formatting values into a string using different forms, like decimal or hexadecimal or another string. Very useful in any library. |
|||
20 Jun 2023, 14:18 |
|
asmblr_88 20 Jun 2023, 20:45
So I've written a structure of how the text file will look.
For each program, let's call them 'chapters' or modules. I don't know what to call them but they will be bunched with a few files. 1. Txt file : This file contains information about the program, in here you will find the algorithm, pseudocode, assembly code and their refined versions, all commented. Also there will be information on who wrote the particular program for the codebase, the date it was written, a short description of it's purpose, and giving credit to others who contributed to improving the program, noting how they helped and any advice that they have given regarding the program. 2. fasm file : This is the assembly code for the program. There can be more than one version if there are improvements to the original or the one before it, which will be noted with a version number. NOTE: There will be two types of these files, the first will be commented and the other will be uncommented for those who wish to practice studying it, understanding it, and commenting it themselves to compare to the original. I hope it will be helpful to anyone from beginner to advanced.
_________________ asmblr_88 |
|||||||||||
20 Jun 2023, 20:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.