Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
A
asmc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giovanni Mascellani
asmc
Commits
0359585f
Unverified
Commit
0359585f
authored
Mar 09, 2019
by
Giovanni Mascellani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function memcpy.
parent
2ef6a096
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
lib/library.asm
lib/library.asm
+0
-29
No files found.
lib/library.asm
View file @
0359585f
...
...
@@ -190,35 +190,6 @@ atoi:
ret
;; void *memcpy(void *dest, const void *src, int n)
memcpy:
;; Load registers
mov
eax
,
[
esp
+
4
]
mov
ecx
,
[
esp
+
8
]
mov
edx
,
[
esp
+
12
]
push
ebx
memcpy_loop:
;; Test for termination
cmp
edx
,
0
je
memcpy_end
;; Copy one character
mov
bl
,
[
ecx
]
mov
[
eax
],
bl
;; Decrease the counter and increase the pointers
sub
edx
,
1
add
eax
,
1
add
ecx
,
1
jmp
memcpy_loop
memcpy_end:
pop
ebx
ret
init_symbols:
;; Allocate symbol names table
mov
eax
,
SYMBOL_TABLE_LEN
*
MAX_SYMBOL_NAME_LEN
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment