text
stringlengths
1
1.05M
.data buforTekst: .space 17 buforKlucz: .space 9 pytanieTekst: .asciiz "\nPodaj tekst (max 16 znakow): " pytanieKlucz: .asciiz "\nPodaj klucz (min 1 znak, max 8 znakow): " pytanieOperacja:.asciiz "Podaj kod operacji (0 - szyfrowanie, 1 - odszyfrowanie): " .text Main: #Pytanie o kod operacji la $a0, pytanieO...
cpu 78070 page 0 relaxed on include reg78k0.inc saddr equ 0fe80h sfr equ 0ff90h brk ret retb reti nop ei di halt stop adjba adjbs mov d,#20 mov saddr,#30 mov sfr,#40 ...
#include <rwlibs/task/Task.hpp> #include <rwlibs/task/loader/TaskSaver.hpp> #include <rw/math/Vector3D.hpp> using namespace rw::core; using namespace rw::math; using namespace rwlibs::task; int main(int argc, char** argv) { Vector3D<> pos(-0.075, 0, 0.10139); Rotation3D<> rot(-0.960294, 0.0857174, -0.265497,...
/******************************************************************************* * Copyright 2021 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
; A188087: Positions of 0 in A188086; complement of A188088. ; 1,2,3,5,6,7,9,10,11,12,13,14,16,17,18,20,21,22,24,25,26,27,28,29,31,32,33,35,36,37,39,40,41,42,43,44,46,47,48,50,51,52,53,54,55,57,58,59,61,62,63,65,66,67,68,69,70,72,73,74,76,77,78,80,81,82,83,84,85,87,88,89,91,92,93,95,96,97,98,99,100,102,103,104,106,107,...
; A278129: a(n) = 348*2^n - 188. ; 160,508,1204,2596,5380,10948,22084,44356,88900,177988,356164,712516,1425220,2850628,5701444,11403076,22806340,45612868,91225924,182452036,364904260,729808708,1459617604,2919235396,5838470980,11676942148,23353884484 mov $1,2 pow $1,$0 sub $1,1 mul $1,348 add $1,160
; Original address was $A5CD ; 7-5 underground .word W705L ; Alternate level layout .word W705O ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_180 .byte LEVEL2_BGPAL_07 | LEVEL2_OBJPAL_09 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_01 | LEVEL3_VSCROLL_LOCKED | LEVEL3_PIPENOTEXIT .byte LEVEL4_BGBANK_IN...
; A335691: A000166(n)^2. ; 1,0,1,4,81,1936,70225,3437316,220017889,17821182016,1782120871521,215636596084900,31051670188655281,5247732257301156624,1028555522495168900401,231424992560450869558756,59244798095490816735545025,17121746649596584336387952896 seq $0,166 ; Subfactorial or rencontres numbers, or derangements: n...
// // Generated by Microsoft (R) HLSL Shader Compiler 10.1 // // // // Input signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // SV_PrimitiveID 0 x 0 PRIMID uint x // SV_SampleIndex ...
; $Id: bs3-mode-SwitchToPAE32_16.asm $ ;; @file ; BS3Kit - Bs3SwitchToPAE32_16 ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modify it under the ...
/* Copyright 2018 <Pierre Constantineau> 3-Clause BSD License Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
// ====================================================================== // // test registry_via_id's requirement that the value type have // a member function that is: // 1) named id, and // 2) returns a value of the key type // // ====================================================================== #include "...
* ED - set window colours  1985 Tony Tebby QJUMP * section ed * xdef ed_shigh xdef ed_snorm * include dev8_sbsext_ed_keys include dev8_sbsext_ed_data include dev8_keys_con * ed_snorm sf ed_chang(a5) clear change flag tst.b ed_high(a5) ... already normal? beq.s edc_ok sf ed_high(a5) bra.s edc_sclr ed_...
; void p_stack_push(p_stack_t *s, void *item) SECTION code_adt_p_stack PUBLIC p_stack_push_callee EXTERN p_forward_list_insert_after_callee defc p_stack_push_callee = p_forward_list_insert_after_callee INCLUDE "adt/p_stack/z80/asm_p_stack_push.asm"
// This file extracted from the https://github.com/ucsc-vama/firrtl-sig repo with LICENSE.firrtl-sig license #pragma once #include <algorithm> #include <array> #include <bitset> #include <cinttypes> #include <iomanip> #include <iostream> #include <random> #include <string> #include <type_traits> // Internal RNG name...
# mp_limb_t mulredc12(mp_limb_t * z, const mp_limb_t * x, const mp_limb_t * y, # const mp_limb_t *m, mp_limb_t inv_m); # # Stack: # inv_m ## parameters # m # y # x # z (4*(2k+7))%esp # ??? (1 limb???) # ebp ## pushed registers (4*(2k+5))%esp # ed...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x9112, %rsi lea addresses_normal_ht+0x15a3d, %rdi nop nop nop nop mfence mov $38, %rcx rep movsq nop nop nop nop nop inc %rdx lea addresses_UC_ht+0x1eab5, %rcx nop dec %r9 movu...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x763c, %r13 nop nop nop add %r12, %r12 mov (%r13), %r8d nop nop nop xor %rsi, %rsi lea addresses_D_ht+0x1d1bc, %r12 nop nop nop nop nop cmp %rdi, %rdi movl $0x61626364, (%...
SFX_Battle_27_Ch5: duty_cycle 2 square_note 15, 3, -7, 1984 SFX_Battle_27_branch_2062a: square_note 15, 13, -7, 1984 sound_loop 4, SFX_Battle_27_branch_2062a square_note 15, 13, 1, 1984 sound_ret SFX_Battle_27_Ch6: duty_cycle_pattern 2, 3, 0, 3 square_note 15, 2, -7, 1992 SFX_Battle_27_branch_2063d: square...
; A197603: Floor((n+1/n)^4). ; Submitted by Jamie Morken(s1) ; 16,39,123,326,731,1446,2603,4358,6891,10406,15131,21318,29243,39206,51531,66566,84683,106278,131771,161606,196251,236198,281963,334086,393131,459686,534363,617798,710651,813606,927371,1052678,1190283,1340966,1505531,1684806,1879643,2090918,2319531,2566406,2...
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2008-2015. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/c...
;-----------------------------------------------------------------------------; ; Author: Stephen Fewer (stephen_fewer@harmonysecurity.com) ; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4 ; Version: 1.0 (24 July 2009) ;-----------------------------------------------------------------------------; [BITS 3...
; Z80 Mandelbrot with output to TMS9918 video chip ; ; Fixed point Mandelbrot routine from https://rosettacode.org/wiki/Mandelbrot_set#Z80_Assembly ; ; Adapted to TMS9918 by J.B. Langston ramtop: equ $ffff bdos: equ $0005 org 100h ld (oldstack),sp ...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rax push %rbp lea addresses_normal_ht+0x5fd4, %rbp dec %r9 movw $0x6162, (%rbp) nop nop nop nop xor %r14, %r14 pop %rbp pop %rax pop %r9 pop %r14 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r8 push %r9 push %rbp push %rbx ...
; The MIT License (MIT) ; ; Copyright (c) 2014 Microsoft ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy, modify...
;******************************************************************************************************** ; uC/OS-II ; The Real-Time Kernel ; ; Copyright 1992-2020 Silicon Laboratories Inc. www.silabs.com ; ; ...
// Copyright (c) 2014-2017 The Hah Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include "base58.h" #include "init.h" #include "netbase.h" #include "validation.h" #include "ma...
; A244635: 29*n^2. ; 0,29,116,261,464,725,1044,1421,1856,2349,2900,3509,4176,4901,5684,6525,7424,8381,9396,10469,11600,12789,14036,15341,16704,18125,19604,21141,22736,24389,26100,27869,29696,31581,33524,35525,37584,39701,41876,44109,46400,48749,51156,53621,56144,58725,61364,64061,66816,69629,72500,75429,78416,81461,845...
;================================================================================ ; Master / Tempered / Golden Sword Swap ;================================================================================ ;$03348E: smith sword check (to see if uprade-able) ;===============================================================...
; A278131: a(n) = 591*2^n - 273. ; 318,909,2091,4455,9183,18639,37551,75375,151023,302319,604911,1210095,2420463,4841199,9682671,19365615,38731503,77463279,154926831,309853935,619708143,1239416559,2478833391,4957667055,9915334383,19830669039,39661338351 mov $1,2 pow $1,$0 sub $1,1 mul $1,591 add $1,318
// Copyright 2011, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
; A170390: Number of reduced words of length n in Coxeter group on 45 generators S_i with relations (S_i)^2 = (S_i S_j)^43 = I. ; 1,45,1980,87120,3833280,168664320,7421230080,326534123520,14367501434880,632170063134720,27815482777927680,1223881242228817920,53850774658067988480,2369434084954991493120,1042550997380196256...
;worksheet 1 ;exercise 3 segment code assume cs: code main: mov bx , 00h ; space counter mov cx , 03h ; line counter next_line: push cx ; remeber how many lines left mov cx , bx ; is it first line ? cmp cx , 0 je first_space next_space: mov dl ,...
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/String.h> #include <AK/Vector.h> #include <LibCore/ArgsParser.h> #include <LibCore/ConfigFile.h> #include <LibCore/System.h> #include <LibKeyboard/CharacterMap.h> #include <LibMain/Main.h> #inclu...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="fd, iovec, count, offset"/> <%docstring> Invokes the syscall preadv. See 'man 2 preadv' for more information. Arguments: fd(int): fd iovec(iovec): iovec count(int): count offset(off_t): offset </%docstring> ${syscall('SYS_pre...
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "admin-server.h" #include <lib/fidl-async/cpp/bind.h> #include <lib/syslog/cpp/macros.h> #include <fs/service.h> namespace devmgr { fbl::RefPt...
; A286728: Positions of 1 in A286063; complement of A286727. ; 3,4,7,12,13,18,21,22,25,30,33,34,39,40,43,48,49,54,57,58,63,64,67,72,75,76,79,84,85,90,93,94,97,102,105,106,111,112,115,120,123,124,127,132,133,138,141,142,147,148,151,156,157,162,165,166,169,174,177,178,183,184,187,192,193,198,201,202,207,208,211,216,219,2...
; A108577: Number of symmetry classes of 3 X 3 magic squares (with distinct positive entries) having all entries < n. ; 0,0,0,0,0,0,0,0,0,1,2,5,8,12,16,23,30,40,50,63,76,93,110,132,154,180,206,238,270,308,346,390,434,485,536,595,654,720,786,861,936,1020,1104,1197,1290,1393,1496,1610,1724,1848,1972,2108,2244,2392,2540,2...
; A081336: a(n) = (7^n + 3^n)/2. ; 1,5,29,185,1241,8525,59189,412865,2885681,20186645,141267149,988751945,6920909321,48445302365,339113927909,2373787929425,16616486808161,116315321563685,814206992665469,5699448173817305,39896134892198201,279272937271818605,1954910539982023829,13684373717112047585,95790615831497975441,6...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x16611, %rsi lea addresses_A_ht+0x199f9, %rdi nop nop nop and %r9, %r9 mov $111, %rcx rep movsl nop nop nop nop nop dec %r11 lea addresses_WC_ht+0x11bd1, %rsi lea addresses_UC_ht+0xaf51, %rdi xor...
; ; Copyright (c) 2010 The VP8 project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing projec...
lda {m1} sta $fe lda {m1}+1 sta $ff lda ($fe),y
// Copyright (c) 2020 Can Boluk and contributors of the VTIL Project // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the a...
dnl AMD64 mpn_mod_1_1p dnl Contributed to the GNU project by Torbjörn Granlund and Niels Möller. dnl Copyright 2009-2012 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of eithe...
; A315632: Coordination sequence Gal.5.112.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,6,12,16,20,24,28,34,40,46,52,56,60,64,68,74,80,86,92,96,100,104,108,114,120,126,132,136,140,144,148,154,160,166,172,176,180,184,188,194,20...
; A056220: a(n) = 2*n^2 - 1. ; -1,1,7,17,31,49,71,97,127,161,199,241,287,337,391,449,511,577,647,721,799,881,967,1057,1151,1249,1351,1457,1567,1681,1799,1921,2047,2177,2311,2449,2591,2737,2887,3041,3199,3361,3527,3697,3871,4049,4231,4417,4607,4801,4999,5201,5407,5617,5831,6049,6271,6497,6727,6961,7199,7441,7687,7937,81...
; A038572: a(n) = n rotated one binary place to the right. ; 0,1,1,3,2,6,3,7,4,12,5,13,6,14,7,15,8,24,9,25,10,26,11,27,12,28,13,29,14,30,15,31,16,48,17,49,18,50,19,51,20,52,21,53,22,54,23,55,24,56,25,57,26,58,27,59,28,60,29,61,30,62,31,63,32,96,33,97,34,98,35,99,36,100,37,101,38,102,39,103,40,104,41,105,42,106,43,107,4...
;****************************************************************************** ;* Copyright (c) 2010 David Conrad ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* License as published by the Free Software F...
.MODEL SMALL .STACK .DATA MSG1 DB 10,13, 'Enter First Number: $' MSG2 DB 10,13, 'Enter Second Number: $' MSG3 DB 10,13, 'SUM: $' MSG4 DB 10,13, 'DIFFERENCE: $' MSG5 DB 10,13, 'PRODUCT: $' MSG6 DB 10,13, 'QUOTIENT: $' NEGA DB '-$' NUM1 DB 0 NUM2 ...
#ifndef __SEGMENT2DFROMPDG_CXX__ #define __SEGMENT2DFROMPDG_CXX__ #include "larcv/core/DataFormat/EventVoxel2D.h" #include "larcv/core/DataFormat/EventImage2D.h" #include "larcv/core/DataFormat/EventParticle.h" #include "Segment2DFromPDG.h" #include "ImageMod.h" namespace larcv { static Segment2DFromPDGProcessFact...
/* ============================================================================================ This file contains an implementation of a derived C++ Class from the abstract base class in 'FEM_Interpolation.cc'. NOTE: portions of this code are automatically generated! Copyright (c) 01-31-2013, Shawn W. W...
; A139700: Binomial transform of [1, 30, 30, 30, ...]. ; 1,31,91,211,451,931,1891,3811,7651,15331,30691,61411,122851,245731,491491,983011,1966051,3932131,7864291,15728611,31457251,62914531,125829091,251658211,503316451,1006632931,2013265891,4026531811,8053063651,16106127331 mov $1,2 pow $1,$0 sub $1,1 mul $1,30 add $1...
#include <Interpreters/addMissingDefaults.h> #include <Common/typeid_cast.h> #include <DataTypes/NestedUtils.h> #include <DataTypes/DataTypeArray.h> #include <Columns/ColumnArray.h> #include <Interpreters/inplaceBlockConversions.h> #include <Core/Block.h> #include <Storages/ColumnsDescription.h> #include <Interpreters...
; A097839: Chebyshev polynomials S(n,83). ; Submitted by Christian Krause ; 1,83,6888,571621,47437655,3936753744,326703123097,27112422463307,2250004361331384,186723249568041565,15495779709786118511,1285962992662679794848,106719432611292636853873,8856426943744626179076611,734976716898192680226504840,60994211075606247832...
SECTION code_fp_math48 PUBLIC _islessequal_callee EXTERN cm48_sdccix_islessequal_callee defc _islessequal_callee = cm48_sdccix_islessequal_callee
; A115286: a(n) = (1/6)*(n^6+3*n^4+12*n^3+8*n^2). ; 0,4,40,228,960,3200,8904,21560,46848,93420,173800,305404,511680,823368,1279880,1930800,2837504,4074900,5733288,7920340,10763200,14410704,19035720,24837608,32044800,40917500,51750504,64876140,80667328,99540760,121960200,148439904,179548160,215910948,258215720,307215300...
!!ARBfp1.0 # This is the fragment program for two # component dependent data with no shading # We need some temporary variables TEMP temp1, temp2, temp3; TEMP finalColor, finalOpacity; # We are going to use the first # texture coordinate ATTRIB tex0 = fragment.texcoord[0]; # This is our output color O...
db "JET@" ; species name db "Its instinct is to" next "bury itself in" next "holes. It often" page "steals the nesting" next "holes of others to" next "sleep in them.@"
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/platform_window/text_input_state.h" namespace ui { TextInputState::TextInputState() : type(TEXT_INPUT_TYPE_NONE), flags(TEXT_INPU...
; A168670: Numbers that are congruent to {1, 8} mod 11. ; 1,8,12,19,23,30,34,41,45,52,56,63,67,74,78,85,89,96,100,107,111,118,122,129,133,140,144,151,155,162,166,173,177,184,188,195,199,206,210,217,221,228,232,239,243,250,254,261,265,272,276,283,287,294,298,305,309,316,320,327,331,338,342,349,353,360,364,371,375,382,38...
; A120893: a(n) = 3*a(n-1) + 3*a(n-2) - a(n-3); a(0)=1, a(1)=1, a(2)=5. ; 1,1,5,17,65,241,901,3361,12545,46817,174725,652081,2433601,9082321,33895685,126500417,472105985,1761923521,6575588101,24540428881,91586127425,341804080817,1275630195845,4760716702561,17767236614401,66308229755041,247465682405765,923554499868017,3...
[bits 64] [org 0x14000B4D4] jmp 0x140059080
/*!******************************************************************** Audacity: A Digital Audio Editor @file CurlHandleManager.cpp @brief Define a class responsible for reuse of CURL hanldes. Dmitry Vedenko **********************************************************************/ #include "CurlHandleManager.h"...
#include "ntshell.h" #include "ntopt.h" #include "ntlibc.h" #include "Arduino.h" #include "ntshell_arduino.h" USER_CALLBACK user_cb = NULL; HardwareSerial* serialPtr = NULL; // NOTE: // int usrcmd_execute(const char *text) // needs to be defined somewhere else, conventionally usrcmd_arduino.cpp // look for this in ...
; A284293: Numbers using only digits 1 and 6. ; Submitted by Jon Maiga ; 1,6,11,16,61,66,111,116,161,166,611,616,661,666,1111,1116,1161,1166,1611,1616,1661,1666,6111,6116,6161,6166,6611,6616,6661,6666,11111,11116,11161,11166,11611,11616,11661,11666,16111,16116,16161,16166,16611,16616 add $0,1 mov $2,1 lpb $0 mov $3,...
/* * Copyright 2017 The Polycube Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
# mark_description "Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.0.166 Build 20191121"; # mark_description "-o asm/matvec_auto.asm -O2 -xCORE_AVX2 -S -masm=intel"; .intel_syntax noprefix .file "matvec.c" .text ..TXTST0: .L_2__routine_start_main_0: # -- Begin main .text # ma...
/* Name : Dumitru ** Class : CS 330 - 001 ** Date : Jan/Feb 2007 ** ** Description: ProcessCmd.cpp ******************************************************************************/ #ifndef PROCESS_CMD_CPP #define PROCESS_CMD_CPP #include "ProcessCmd.h" // constructors ProcessCmd::ProcessCmd() { Clear(); } ProcessC...
/******************************************************************************* * Copyright 2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
; A078545: Largest prime dividing tau(n), the number of divisors of n. ; 2,2,3,2,2,2,2,3,2,2,3,2,2,2,5,2,3,2,3,2,2,2,2,3,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,2,2,2,3,3,2,2,5,3,3,2,3,2,2,2,2,2,2,2,3,2,2,3,7,2,2,2,3,2,2,2,3,2,2,3,3,2,2,2,5,5,2,2,3,2,2,2,2,2,3,2,3,2,2,2,3,2,3,3,3,2 add $0,1 seq $0,5 ; d(n) (also called tau(n) o...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x45b1, %rsi lea addresses_UC_ht+0x1ea31, %rdi cmp $41463, %r8 mov $19, %rcx rep movsw and $45030, %rbp lea addresses_normal_ht+0x1b3d9, %r13 nop nop nop cmp %rax, %rax movb $0...
.data answer: .byte 'a','b','c','a','a' ask_op: .asciiz"Answer: " game: .asciiz"\n\tQUIZ" line: .asciiz"______________________________" fullmarks: .asciiz"\tF.M=5\n" ques1: .asciiz"\n\n1. What is the capital of India ?\n" q1opa: .asciiz"a)Delhi\n" q1opb: .asciiz"b)Mumbai\n" q1opc: .asciiz"c)Agra\n" q1opd: .as...
_testTask1: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "stat.h" #include "user.h" #include "fcntl.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and ...
; A071556: Smallest x > 1 such that x^prime(n) == 1 mod(prime(i)) 4<=i<=n. ; 8,78,1002,17018,323324,7436430,215656442,6685349672,247357937828,10141675450908,436092044389002,20496326086283048,1086305282573001492,64092011671807087970,3909612711980232366110,261944051702675568529304 add $0,4 seq $0,2110 ; Primorial number...
; A336627: Coordination sequence for the Manhattan lattice. ; 1,2,4,8,11,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224 mov $2,$0 add $2,1 mov $8,$0 lpb $2 mov $0,$8 sub $...
// 6/2 Struktúrák, tag-tömbökkel (DB 4) #include <iostream> #define DB 2 using namespace std; struct step { char kar[DB]; int lep[DB]; }; void kiir(struct step sp1) { for (int fut = 0; fut < DB; fut++) { cout << "\n A kódolás " << fut + 1 << ". karaktere a léptetés után: '" << ...
/* * Copyright (c) 2017, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...
; $Id: beeper.asm,v 1.2 2002/04/17 21:30:23 dom Exp $ ; ; Generic 1 bit sound functions ; XLIB beeper INCLUDE "games/games.inc" LIB bit_open_di LIB bit_close_ei ; ; Ported by Dominic Morris ; Adapted by Stefano Bodrato ; ; Entry as for Spectrum beeper routine!! ; ; Direct transfer, of...
; A116091: Expansion of 1/sqrt(1+4*x+16*x^2). ; Submitted by Christian Krause ; 1,-2,-2,28,-74,-92,1324,-3656,-4826,70228,-197372,-267896,3921724,-11126936,-15347432,225505648,-643622906,-897078476,13214495764,-37869162392,-53170602284,784672445368,-2255295815192,-3183829452272,47051201187676,-135537088268792,-19214221...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "hud.h" #include "hudelement.h" #include "hud_macros.h" #include "hud_numericdisplay.h" #include "icli...
.nds .relativeinclude on .erroronwarning on ; This patch makes it so getting a boss orb in Mystery Manor or Ecclesia will reload the room. ; This is because the cutscene after beating Albus/Barlowe won't play until the room is reloaded. ; Albus/Barlowe normally reload the room on defeat, but in boss randomizer somethi...
; this example program draws a rectangle on the screen ; pressing the a key on the keyboard will move the rectangle to the left ; pressing the b key on the keyboard will move the rectangle to the right ; some commonly used addresses .def ADDR_VRAM 0x4000 .def ADDR_EVENT_TYPE 0x4903 .def ADDR_KEYBOARD_KEYCODE 0x4904 .d...
#include <iostream> using namespace std; int soma_b(int& a, const int& b) { a = 4; return a + b; } int main() { int x = 2; cout << soma_b(x, 3) << endl; cout << x; } //https://pt.stackoverflow.com/q/320739/101
list p=16f628a, free #include <p16f628a.inc> ERRORLEVEL -302 ;removes warning message about using proper bank that occured on the line 'CLRF TRISB' #include util_macros.INC global twosComplement32bits, twosComplement16bits global increment32bit, increment16bit global Add32bit32bit g...
_zombie: formato do arquivo elf32-i386 Desmontagem da seção .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: f3 0f 1e fb endbr32 4: 8d 4c 24 04 lea 0x4(%esp),%ecx 8: 83 e4 f0 and $0xfffffff0,%esp b: ff 71 fc pushl -0x4...
; A338524: prime(n) Gray code decoding. ; Submitted by Simon Strandgaard ; 3,2,6,5,13,9,30,29,26,22,21,57,49,50,53,38,45,41,125,122,113,117,98,110,65,70,69,77,73,94,85,253,241,242,230,229,233,194,197,201,221,217,213,129,134,133,157,149,189,185,177,181,161,173,510,506,502,501 seq $0,40 ; The prime numbers. seq $0,6068 ...
title 'Root module of relocatable BIOS for CP/M 3.0' ; version 1.0 15 Sept 82 maclib options ; Copyright (C), 1982 ; Digital Research, Inc ; P.O. Box 579 ; Pacific Grove, CA 93950 ; This is the invariant portion of the modular BIOS and is ; distributed as source for informational p...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xc135, %r9 nop nop inc %r14 vmovups (%r9), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %rbx nop nop nop nop add $42644, %rax lea addresses_normal_ht+0xa435, %rsi le...
leituraTeclado: MOV R0, #0 ; scan row0 MOV P0, #0FFh CLR P0.0 CALL colScan JB F0, finish ; scan row1 SETB P0.0 CLR P0.1 CALL colScan JB F0, finish ; scan row2 SETB P0.1 CLR P0.2 CALL colScan JB F0, finish ; scan row3 SETB P0.2 CLR P0.3 CALL colScan JB F0, finish finish: RET colScan: JNB P0....
INCLUDE "_DEVELOPMENT/target/rc2014/config_rc2014-8085_private.inc" SECTION code_driver PUBLIC fgetc_cons_acia EXTERN aciaRxCount, aciaRxOut, aciaRxBuffer, aciaControl EXTERN asm_z80_push_di, asm_z80_pop_ei .fgetc_cons_acia ; exit : l = char received ; ; modifies : af, hl ld a,(aciaRxCount) ...
; A315264: Coordination sequence Gal.6.328.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; Submitted by Jamie Morken(s3) ; 1,6,10,15,20,26,30,36,41,46,50,56,62,66,71,76,82,86,92,97,102,106,112,118,122,127,132,138,142,148,153,158,16...
; A329964: a(n) = (n!/floor(1+n/2)!)^2. ; 1,1,1,9,16,400,900,44100,112896,9144576,25401600,3073593600,9032601600,1526509670400,4674935865600,1051860569760000,3324398837760000,960751264112640000,3112834095724953600,1123733108556708249600,3714820193575895040000 seq $0,262033 ; Number of permutations of [n] beginning wit...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/public/common/permissions/permission_utils.h" #include "base/logging.h" namespace blink { mojom::PermissionStatus ToPermiss...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 3.9.1 #11310 (Linux) ;-------------------------------------------------------- ; Processed by Z88DK ;-------------------------------------------------------- EXTERN __divschar EXTERN __divsc...
;PROGRAM DO WYZNACZANIA LICZBY ROZWIĄZAŃ RÓWNANIA KWADRATOWEGO 2x^2-8x+8=0 A: DC INTEGER(2) B: DC INTEGER(-8) C: DC INTEGER(8) WYNIK: DS INTEGER ZERO: DC INTEGER(0) JEDEN: DC INTEGER(1) DWA: DC INTEGER(2) CZTERY: DC INTEGER(4)...
; A234272: G.f.: (1+4*x+x^2)/(1-4*x+x^2). ; 1,8,32,120,448,1672,6240,23288,86912,324360,1210528,4517752,16860480,62924168,234836192,876420600,3270846208,12206964232,45557010720,170021078648,634527303872,2368088136840,8837825243488,32983212837112,123095026104960,459396891582728,1714492540225952,6398573269321080,23879800...
%include "io.inc" section .text global CMAIN CMAIN: mov eax, zone2 jmp eax ; salt neconditionat catre adresa ce se afla in registrul eax zone1: mov eax, 1 mov ebx, 2 add eax, ebx PRINT_UDEC 4, eax jmp exit zone2: mov eax, 7 mov ebx, 8 add eax, ebx PRINT_UDEC 4, ...
; A073791: Replace 4^k with (-4)^k in base 4 expansion of n. ; Submitted by Christian Krause ; 0,1,2,3,-4,-3,-2,-1,-8,-7,-6,-5,-12,-11,-10,-9,16,17,18,19,12,13,14,15,8,9,10,11,4,5,6,7,32,33,34,35,28,29,30,31,24,25,26,27,20,21,22,23,48,49,50,51,44,45,46,47,40,41,42,43,36,37,38,39,-64,-63,-62,-61,-68,-67,-66,-65,-72,-71,...
INCLUDE "clib_cfg.asm" SECTION code_fcntl PUBLIC console_01_output_fzx_oterm_msg_putc PUBLIC console_01_output_fzx_oterm_msg_putc_raw EXTERN l_jpix, l_offset_ix_de, asm_fzx_putc EXTERN __fzx_puts_newline, __fzx_puts_newline_set_y EXTERN console_01_output_fzx_proc_linefeed EXTERN console_01_output_fzx_proc_check_scr...
;*********************************************************** ; UTN-2014-Rutinas de Interrupcion ;*********************************************************** ;*********************************************************** ; Author : Fernandez Marcelo Joaquin ; Date : 23th May 2014 ;*******************************...