Not possible, both are numbers.
Bridges and switches learn and filter MAC addressses into memory over time thereby creating a table of Mac addresses. Bridges build a memory table of MAC addresses they get from segments. Switches build tables based on switch port numbers to MAC addresses instead of segment numbers.
To read and write to I/O
The major system resources to consider are the I/O port address, memory addresses, IRQ, and DMA settings.
Those who address on the nature of memory. :-)
Addresses 80 - 87H are assigned to the P0 port
A switch has memory to store many MAC addresses for each of its port connections and built in hardware circuitry or read only software to keep track if what MAC addresses are coming from each network port. Mac address information coming from each port is saved in memory so that the switch will know which port to use to send packets with a destination for that MAC address. There is enough memory to allow for other switches and hubs and wifi access points to plug into the its connectors and to remember which ones came from where. More expansive and expensive switches can handle over hundred port connections and are programmable and configurable to do much more than the average router.
memory mapping
Memory Addresses
COM1-IRQ 4, memory addresses 03F8-03FF COM2-IRQ 3, memory addresses 02F8-02FF COM3-IRQ 4, memory addresses 03E8-03EF COM4-IRQ 3, memory addresses 02E8-02EF pg. 396
To refer to memory.
memory mapping