Anonymous
Not logged in
Talk
Contributions
Create account
Log in
RS-485
Search
Editing
Bit manipulation instructions
(section)
From RS-485
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
Edit source
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Embedded microcontrollers === ==== Intel ==== * The [[8086]] has {{code|TEST}}, as well as [[bitwise operations]]<ref>{{cite web | title=Bit Manipulation Instructions in 8086 | Logical Instructions | date=11 August 2018 | url=https://www.eeeguide.com/bit-manipulation-instructions-in-8086/ }}</ref> * The [[8051]] has {{code|SETB}}, {{code|CLR}} and {{code|CPL}} - set clear and invert bit instructions - and a considerable percentage of its instructions are bit manipulation.<ref>{{cite web |url=https://cs.uok.edu.in/Files/79755f07-9550-4aeb-bd6f-5d802d56b46d/Custom/InstructionSet_UnitII.pdf |title=8051 Instructions}}</ref> Also included is Or-complement and And-complement, present in RISC-V Zb*.<ref>{{cite web | title=Boolean (Bitwise) instructions in 8051 for bit manipulation | date=29 April 2020 | url=https://technobyte.org/bit-operations-8051-boolean-instructions/ }}</ref> ==== Zilog Z80 ==== * The [[Zilog Z80]] [[Z80 instruction set|instruction set]] includes {{code|BIT}}, {{code|RES}}, and {{code|SET}} instructions. These test, reset, and set individual bits in registers or memory pointed to by HL, IX, or IY.<ref>{{Cite book |url=https://www.zilog.com/docs/z80/um0080.pdf#G5.1130345 |title=Z80 Family CPU User Manual |publisher=[[Zilog]] |year=2016 |id=UM008011-0816 |access-date=January 5, 2024 |archive-url=https://web.archive.org/web/20231226131929/http://www.zilog.com/docs/z80/um0080.pdf#G5.1130345 |archive-date=December 26, 2023 |url-status=live}}</ref> ==== MOS 6502 ==== {{see also|MOS Technology 6502#Variations and derivatives}} * The [[WDC 65C02]] added [[WDC 65C02#Bit manipulation instructions|bit-manipulation]]:test and set (TSB) and test and reset (TRB) on individual bits. * Rockwell added similar extensions (RMB, SMB, BBR and BBS) to the R65C00 series<ref>{{cite web |title=Rockwell R6500/11, R6500/12 and R6500/15 One-Chip Microcomputers |url=https://datasheetspdf.com/pdf-file/1338410/Rockwell/R6500-11/1 |date=7 June 1987 |access-date=30 April 2020 |archive-date=3 September 2023 |archive-url=https://web.archive.org/web/20230903114502/https://datasheetspdf.com/pdf-file/1338410/Rockwell/R6500-11/1 |url-status=dead }}</ref> ==== Microchip PICs ==== * The [[Microchip Technology]] [[PIC microcontrollers|PIC range]] also has [[bitwise operations]] and set, clear and test bit, listed in the [[PIC instruction listings#Baseline core devices (12-bit)|instructions]].
Summary:
Please note that all contributions to RS-485 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RS-485:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs