I want to look into something. how do i extract a 8bit and view it

i got this in p5.js

{dot.operator
function setup1() {
createCanvas(400, 500);
b = true
b = canvas
function draw() {
background(220);
}
{ if (image is loaded)
b = true
b = canvas}

again, please format your code in

</> code tag

and make it an example we can run here in processing IDE

-B- the question is related to what? not to this code?
much more explanation is needed.

o wait, it would be from the graphics, this is up for scrutiny then.

as you can not post code here, possibly it is better we just work online together,
show / link us a running code in
https://editor.p5js.org/
and ask your question in detail again.

lb t,off(b) # $t <— Sign-extended byte
# from memory address b+off
# b is a base register.
# off is 16-bit two’s complement.

i fount this for example

if you want the color information from a loaded image
on a specific pixel location
can use the 2 ways mentioned here:
https://p5js.org/reference/#/p5/get

i invented this some how.
it changes the page let me see if i can provide the same outcome
how would i measure it. in crosh i would think using the help functions, are there p5 notes out there.

{dot.operator
function setup1() {