Home
Forum
Screenshots
Downloads
Link To Us
Programming Tools
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
Forum
Home
Forum
Assembly Programming
Newbies
WORD
Track this topic
|
Email this topic
|
Print this topic
xspider
Very Active Member
Group: Members
Posts: 64
Member No.: 10609
Joined: 27-July 08
he guys
i have a lill question again
can somebody tell me how to delete two hardcoded bytes from a whole string which are repeated?!
for exemple
0x1A0x1B0x2C0x2D
becomes
1A1B2C2D
hope it's all clear
thx
Gunner
Extremely Active Member
Group: Admins
Posts: 210
Member No.: 27608
Joined: 11-October 09
Word up man... :-)
I dunno, something like this? Off the top of my head
CODE
lea esi, szTestString
lea edi, lpszTestString
doit:
mov al, byte ptr [esi]
cmp al, 0h
je Done
inc esi
cmp al, "0"
je doit
cmp al, "x"
je doit
mov byte ptr [edi], al
inc edi
jmp doit
Done:
Sounds like homework to me...
xspider
Very Active Member
Group: Members
Posts: 64
Member No.: 10609
Joined: 27-July 08
Korn's p0w4
thx mate
works fine
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
«
Next Oldest
|
Newbies
|
Next Newest
»
Close Topic Options
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
Forum Home
Search
Help
Announcements & Forum Rules
- Announcements, Forum Rules & Guidelines
WinAsm Studio
- General Discussions
- Suggestions/Bug Reports
- WinAsm Studio FAQ
- Multilingual User Interface
- Add-Ins
HiEditor
- General Discussions
- Suggestions/Bug Reports
Assembly Programming
- Main
- Newbies
- Projects - Source Code
- Custom Controls
- Snippets
Computer Science
- C/C++
- Internet
- Hardware & PC maintenance
General
- Online Degrees - Distance Learning
- The Heap
- Russian
Sponsors
Computer Science
Internet
C/C++
Hardware & PC maintenance
HiEditor
General Discussions
Suggestions/Bug Reports
WinAsm Studio
General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming
Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules
Announcements
General
Online Degrees - Distance Learning
The Heap
Russian
Enter your search terms
Submit search form
Web
winasm.net