Changeset 105a0dc in mainline for arch/ia32/src/asm.S
- Timestamp:
- 2005-09-18T19:37:14Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 650d976
- Parents:
- e158717
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/asm.S
re158717 r105a0dc 156 156 # handler 192 256 157 157 h_end: 158 159 160 ## I/O input (byte)161 #162 # Get a byte from I/O port and store it AL.163 #164 inb:165 xorl %eax,%eax166 movl 4(%esp),%edx167 inb %dx,%al168 ret169 170 171 ## I/O input (word)172 #173 # Get a word from I/O port and store it AX.174 #175 inw:176 xorl %eax,%eax177 movl 4(%esp),%edx178 inw %dx,%ax179 ret180 181 182 ## I/O input (dword)183 #184 # Get a dword from I/O port and store it EAX.185 #186 inl:187 xorl %eax,%eax188 movl 4(%esp),%edx189 inl %dx,%eax190 ret191 158 192 159
Note:
See TracChangeset
for help on using the changeset viewer.