Hi, I need a function to count a Line on a File. Also a Function to detect is it a Blank comented line or not.
You can have it source code on my site, use MASM32 to compile it. And how to made my prog recognize a label Jump ?
Tararengkyu sadayana :alright:
You can have it source code on my site, use MASM32 to compile it. And how to made my prog recognize a label Jump ?
Tararengkyu sadayana :alright:
CR = Carraige Return = 0xD
LF = Line Feed = 0xA
Microsoft line endings are CrLf
Machintosh uses Cr only
Linux uses Lf only
Some platforms use a Cr followed by multiple Lf's for multiple lines (which makes sense)
Parsing seems to be one of those things that has to be reinvented every time, even if you use RegEx.
Be careful, GPF's are easy to create while parsing. Keep your code simple so that it'll be easy to follow with a debugger.
LF = Line Feed = 0xA
Microsoft line endings are CrLf
Machintosh uses Cr only
Linux uses Lf only
Some platforms use a Cr followed by multiple Lf's for multiple lines (which makes sense)
Parsing seems to be one of those things that has to be reinvented every time, even if you use RegEx.
Be careful, GPF's are easy to create while parsing. Keep your code simple so that it'll be easy to follow with a debugger.
Im now rearrange my Code to made it more Simple.
Here is the New version, Much better in the size, and the code are more simple. I need a text Edit code sample to Show and hide the control. Thanks.
:alright:
:alright:
Support label. But only for function. I allocate 190KB for it. At least it can hold a few thousand of procedure. Im still improoving it. Modified it are allowed, Hope you can studied it and have a few good experience.:alright:
I fix some Bug. Im still finding a way to make the code more simple. Variableshould use 'Data' syntax.
example:
example:
var1 data
dw 200
main proc
mov si,offs var1 ; the address
mov ax,[si] ; the value
I have fix RM function. It now support data.
mov eax,[var1] ; The Value
mov eax,alamat var1 ;The address
mov eax,offs var1 ; The Address
var1 data
dd 20
Forgot to attach it. Hope this is the right one.
Support FPU.
You can change prefix function with
It all the Same. And also some New FPU Instruction. Im still studying HLA syntax and MASM invoke Syntax.
[Bits #32]
[Bits 10]
prefix
It all the Same. And also some New FPU Instruction. Im still studying HLA syntax and MASM invoke Syntax.
Finish the 1024x768-24Bit resolution Graphic function. Hope someone can Optimize it, It still to slow.
Anyone can guide me to Multi Task switch?
Anyone can guide me to Multi Task switch?
Updated. Now it took 103 second on my Intel Celeron 1.8 Ghz. Yes it is, Slow on performance. Im re-Build it again now. Update DOS-Graphic Library.
At least 7~10 times more fast. But I have not done it yet. I have found the bug. It located at the DrawSC function and at DptOpcode function. Complete, I update the source. Everything Done. Its all working now. I need MMX opCode information.
It took 103 second before, now it just 13 second. Im still fasting it.
BTW: Anyone know how to use bosch Emulator? The file I want to emulate are located at D:\Compiler\Compiler\Result\Result.com.
Im editing the Post.
It took 103 second before, now it just 13 second. Im still fasting it.
BTW: Anyone know how to use bosch Emulator? The file I want to emulate are located at D:\Compiler\Compiler\Result\Result.com.
Im editing the Post.
Too Bad I cannot access my WebSite. I found a Nice DOS emulator named DosBox(I forgot where it was).
I add a new feature named "Debug". It can Show you the Opcode, Good for learn. Check it Out.
For Software emulation, lets wait DosBox to be Completed. Or maybe you interest to join The Development (While Im Waiting?:grin: ).
Please Note: Im not this site Owner.
I add a new feature named "Debug". It can Show you the Opcode, Good for learn. Check it Out.
For Software emulation, lets wait DosBox to be Completed. Or maybe you interest to join The Development (While Im Waiting?:grin: ).
Please Note: Im not this site Owner.
6 times more fast on my system, Win98, 128 MB memory, 1.78 Ghz procesor.
now able to to use mod RM :
example: mov eax,.
Thanks for DownLoading it, please answer. I will put your name as Beta tester on my assembler.
BitRake: Can you tell me how to count a clock cycle. Hope I can made something interesting.
now able to to use mod RM :
example: mov eax,.
Thanks for DownLoading it, please answer. I will put your name as Beta tester on my assembler.
BitRake: Can you tell me how to count a clock cycle. Hope I can made something interesting.
Take a look at Maverick's profiler2
http://www.asmcommunity.net/board/index.php?topic=7510&highlight=profile
http://www.asmcommunity.net/board/index.php?topic=7510&highlight=profile
For your age, you are greater than me. Great job(I saw your package).
Can you tell me how to use the .bin?(see you tommorow, Got to go sleep).
Can you tell me how to use the .bin?(see you tommorow, Got to go sleep).
A fasm example (profile.bin should be in the same folder as the asm file):
Ummm...,
RMImm:
mov d.[esi],FF00FF00
mov b.[esi+eax*4+3],20
Finish The CharOut and TextOut Graphic Function. Load Default Font comming soon Finished.
The AttachMent.